35,618 Topics

Member Avatar for
Member Avatar for ivanyeates

Im getting an: ERROR: findSuppliersCandy(): Column not found error in my program. i have two related tables. One supplier table and one candy table for different types of candy. the method below is trying to retrieve all the candy entries related to a specific supplier by passing a supplier id …

Member Avatar for veejo
0
99
Member Avatar for axeeffect2002

Hi, I want to develop a desktop application in which I want to render different views on button click. What should I use to achieve this? I thought of going for Swing but I don't have much idea about it. Can we show different views in Swing on button click?

Member Avatar for axeeffect2002
0
71
Member Avatar for kuaimun

Recently I've encountered an error which I'm not sure how it's supposed to be done given my very basic knowledge of Solaris. After building and running the project, this are the message which appear on my output... init: deps-jar: Compiling 1 source file to C:\Documents and Settings\Administrator\SimpleRead\build\classes compile: run: Caught …

Member Avatar for Nathan Campos
0
86
Member Avatar for Nathan Campos

Hello, I'm learning Java ME, remember that i'm already a Java developer, but i was trying to do a simple contact book application, then when it was finished i run it in the WTK emulator, but when i try to add some record it only shows me the message that …

Member Avatar for Nathan Campos
0
257
Member Avatar for MrDiaz

I can connect from the services window but whenever I try to set the code myself on my app it tells me it cannot connect to the database. Here's my code: [CODE=java]import java.sql.*; public class LogBook { public static void main (String[] args) { connectToDB(); } // Connect to the …

Member Avatar for MrDiaz
0
176
Member Avatar for ragnarok511

I am not writing this to spam people. I am trying program that will send the message "What's Up" to all the people on my friends list that are online in AIM. The main problem is how do I get Java to read the friend list, open up the message …

Member Avatar for Dukane
0
78
Member Avatar for MrDiaz

Hi, I've been thinking of ways of creating an application that involves working with data, what would be the best way to accomplish this? With the JavaDB, MySQL or plain text files? The project is fairly simple, the idea at least. It's a set of records for students, each student …

Member Avatar for MrDiaz
0
78
Member Avatar for PeteRico

I am developing an app and was wondering if any software might exist to help. Specifically, I want a simple app that will allow me to take a video or pics of a neighborhood. If possible, I would like software to convert the neighborhood to a 3d cartoon-ish (not absolutely …

0
57
Member Avatar for JGooding

I have fully configured a domain with SSL using Tomcat as the entire webserver. Going back and forth with having both httpd and Tomcat 6 installed, I had them both talking, passing what they needed back and forth, just fine. I decided since Tomcat is just as good as serving …

0
40
Member Avatar for tankeetanx

[CODE]import java.io.*; public class Calculator{ public static void main(String[] args){ BufferedReader dataIn=new BufferedReader(new InputStreamReader(System.in)); int x=1, y=1; String Str_1,Str_2; System.out.println("Enter an Equation: "); try { Str_1=dataIn.readLine(); System.out.print("Enter another Equation: "); Str_2=dataIn.readLine(); x=Integer.parseInt(Str_1); y=Integer.parseInt(Str_2); x = x+y; x = x-y; x = x*y; x = x/y; } catch(ArithmeticException e) { System.out.println("Divide …

Member Avatar for VernonDozier
0
177
Member Avatar for sotvisal

import java.util.*; class Matrice { private int[][] a; private int row; private int col; public static Scanner in() { return new Scanner(System.in); } public static void out(String m) { System.out.print(m); } public static int readInt(String m) { out(m); return in().nextInt(); } public Matrice() { row=2; col=2; a=new int[row][col]; } public …

Member Avatar for JamesCherrill
0
163
Member Avatar for digitalbeat

I'm working on a program that first launches a frame with various text fields. After they are filled in, the information is submitted by simply clicking the submit button. I have the frame down, the text fields and the buttons, and I have the class where all my data and …

Member Avatar for TheWhite
0
152
Member Avatar for bervin

Okay. I'm in need of desperate help and really hope someone can help me type out the entire code for a simple basic java project. 1)adherence to java naming conventions 2)At least one static method other than main 3)providing int, double and string inputs 4)proper selection construct (switch-case or if-else) …

Member Avatar for TheWhite
0
164
Member Avatar for jadeite100

Hi All: I am using windows 2000 server with Eclipse. In the dost prompt, I ran the file run_sqlldrTest2.cmd and it loaded record into the Oracle database. I tried to do the same thing in java calling the run_sqlldrTest2.cmd. In java it states the "The command line job - -executed …

Member Avatar for dixitworld
0
955
Member Avatar for sanjayrawat177

hi i have one problem in my project what i m doing is populating the select box from data base. When user presses F3 button in select box, a pop up window will open which will allow the user to enter new value ,which will first go to database and …

0
43
Member Avatar for ChangBroot

Hi, I want to create a typewrite/typing java app. I want to change the color of a text to be different, whenever the user types the wrong character in a JTextArea. For example, if the user was supposed to type "My Book" and s/he types "My Bok", I want the …

Member Avatar for ChangBroot
0
371
Member Avatar for emint

hi all how can i draw rectangle for each graphic. on the picture, each rectangle is create as graphic. pls help.

Member Avatar for wildgoose
0
96
Member Avatar for kurtybain

hi, lets get to the point. Im developing an application in which a route is drawn in a map (MapGuide), in order to do this you have to select two points, one for the origin and the other one for the destiny. I have a window divided into 3 frames. …

Member Avatar for Airshow
0
117
Member Avatar for damn

I have to create a GUI like Netica that can create decision networks (influence diagrams) I want to click on a rectangle icon and be able to drop it on the editor and make the rectangle bigger. How do I do that? I know it is drag and drop but …

0
31
Member Avatar for gotm

So I have a JComboBox, which contains recipe names. I want, when the recipe name is changed, for the label that is an icon of the rating (1 to 5) stars, based on my recipe object, to change as well. My code seems like it should work perfect but it …

Member Avatar for llemes4011
0
1K
Member Avatar for jakx12

Ok so im basically new to computer vision, but i would love to expand my knowledge in java and do some computer vision stuff. So what would be the best library to use with lots of documentation and support? Essentially id like to do object tracking and see if there …

0
63
Member Avatar for TheWhite

Well, I'm doing pretty good with my WebChat application, but I was thinking to add some smileys! At first, I would like the app to auto detect the smileys in standard form from a given string and place the image in its place, but I came across the problem: how …

Member Avatar for TheWhite
0
495
Member Avatar for smoore

Okay I would like to set a Mnemonic for a JButton so that if I press the right arrow key the button will be activated. However I can not find what the command for that would be. Right now I have it so that you can hold down alt+Right to …

Member Avatar for TheWhite
0
108
Member Avatar for ashish2234

i AM really new at java and i have just created a very simple diesign of something that is static but should play mp3 files, loaded the required jmf as well ...I want when i click on the jtable and then play song starts playing ..its is not happening here's …

Member Avatar for ashish2234
0
103
Member Avatar for jakx12

Ok so basically I just wanted to see if anyone had any ideas for me. Basically I want to do a project in java because i havnt done one for ages. Im fluent in java so that means i can do relatively complicated things. Id prefer for some software ideas …

Member Avatar for jakx12
0
115
Member Avatar for gaya123

I am using websphere application server 6.. when i run ma application, there is a navigation from a jsp page t a servlet. the jsp page is a form and on clicking submit, control transfers to servlet and few statements should be printed. when the control transfers to servlet, i …

Member Avatar for peter_budo
0
82
Member Avatar for violet_blossom

Hi, I'm really, really new to Java, but I've created a game, and in a separate file the GUI, but I don't know how to attach the functions of the program to the GUI. This is my program: [code] import java .util.*; class bust { public static void main (String …

Member Avatar for TheWhite
0
96
Member Avatar for alrevolver

Hi, We have a java web application where users will be submitting videos. I'm trying to write a java program that is able to convert any movie file into compressed SWF video and FLV streaming video formats. The code should convert almost all popular file extensions such as AVI, MPEG, …

Member Avatar for test
0
158
Member Avatar for feoperro

Hi, I have a frameset with 2 vertical rows. 1. The Header (Header.jsp) and 2. The Body (Body.jsp) The header has all the links and the body is the base target. The problem that I'm facing is that I need to pass parameters through the URL and since the frameset …

Member Avatar for Airshow
0
198
Member Avatar for beshoyatef

Here i try to draw line by mouse pn panel but it is not appear here is my code: [ICODE] import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.JPanel; public class …

Member Avatar for JamesCherrill
0
119

The End.