32,204 Topics

Member Avatar for
Member Avatar for jamesmurphy

I wrote a java program, it comprised of a file for the main class and a file that is a package that consists of a class, a subclass and some methods in each. The class, subclass and all methods are public. I compiled the main class and the package on …

0
66
Member Avatar for Metsfan147

Hi there. I'm trying to write some code to display a graph with nodes/edges on a LayeredPane that will allow the user to move the nodes around. However, I am having some problems getting my nodes to show up. Whenever I launch the application, I just get a blank window. …

0
66
Member Avatar for Cerberus

Hi, i've got a component that displays two JSpinners with a JOptionPane but the JSpinners are stretched across the dialog window. Does anyone know how i can format the JSpinners so they're smaller? Here's some of the code [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.text.*; public class TComponent …

Member Avatar for Cerberus
0
410
Member Avatar for blufab

I am creating a DefaultSingleSelectionModel subclass. Is there anyway to discover what component is the owner of the model from inside the model?

0
55
Member Avatar for collegestuffs

Hello i have an important homework assignment which is due up on mon 26th and i need a competent java programmer with netbeans expirence. Problem is as follows: It's a small project and i have basically designed all the forms and buttons needed etc. Now i need someone to link …

Member Avatar for jwenting
0
680
Member Avatar for FarnazM

I am trying to write the tic tac toa game using java.I have problems & in need of help....HELP

Member Avatar for FarnazM
0
55
Member Avatar for Zatnik

I've finished my assignment (messily) and it works well enough in the uni linux computers - but I can't make file input work at home under XP. I wouldn't have thought that the windows/linux change would make a difference with the JRE... (But then I'm new to this "com-puuuu-tah" stuff) …

Member Avatar for thekashyap
0
103
Member Avatar for ram maradola

[B]hi frinds this is ram, the following program is my problem, i don't know how to do this program plz help me [/B] create a GUI solution that displays a collection of some sort. The collection must minimally be 4 x 4 (four or more categories and then four or …

Member Avatar for thekashyap
0
100
Member Avatar for eeeman

Hi I am having trouble creating a system to log in to a system. If you look at a picture its like this. User selects thier user name from a dropdown box, and then select thier Picture(instead of typing in a password to login. There can I get more info …

Member Avatar for thekashyap
0
202
Member Avatar for rahulmenonr

Hi Friends i am a final year btech student and now got stuck with my acadamic project.... I Am Doing A Database Project For That I Want To Get Datasource Names In A Computer .. I Am Using Jdbc Odbc Connector Class Please Say How To Get The Dsn List …

Member Avatar for thekashyap
0
129
Member Avatar for rahulmenonr

hi friends did any one kno how to get data source names in a system using j2ee if kno please forward me the code please .... thanks

Member Avatar for ~s.o.s~
0
67
Member Avatar for jamello

Hi there folks. I am a wannabe in Java. Can you guys help in recommending books (e-books preferably) I can get to jumpstart me. I have got quite an experience in other languages like vb.net and c# so where or how do I start? Thanks for the help!

Member Avatar for Cerberus
0
99
Member Avatar for nemo

Hi, can some one please help me run this code. i have another class named Course, that complied without error. Now in this code i am trying to take user inputs to find resulting gpa in a course. the following code does not compile, please help. [code] import java.util.*; import …

Member Avatar for masijade
0
155
Member Avatar for rahulmenonr

Hi Friends I Am Doing A Database Project For That I Want To Get Datasource Names In A Computer .. I Am Using Jdbc Odbc Connector Class Please Say How To Get The Dsn List If Any One Kno Please Forward Me The Code Thax In Advance ... Hoping Lot...

0
63
Member Avatar for mapaputsi

Sory guys i need help, i installed java in my computer but i cant run any program because its telling me that "error" invalidpath, i tryied to change the directory but it still tells me that invalid path when i compile... please help guys thanx in advance.

Member Avatar for rahulmenonr
0
87
Member Avatar for pavani2006

ehat is the differencde between error,checked exception and unchecked exception?when occurs at what time?compile time or runtime?which of them can be handled and what not handled?example?

Member Avatar for masijade
0
136
Member Avatar for manujpro
Member Avatar for vinod_javas
0
1K
Member Avatar for debargha

hello, everybody.... i am new to java programming........so my question may be childish i want to ask that.....in java all methods and variables are public... by default(opposite to c++).so why we are writing public static void main(String args[]).main method can be accesed from anywhere even if i dont write public …

Member Avatar for debargha
0
131
Member Avatar for shishir

hi everyone i am new to java and currently working on a project in jsp and ejb. everytime i try to run the program i encounter an error that package javax.ejb does not exist. i have jdk1.3 and j2sdkee 1.3 installed and have added j2ee.jar present in lib of j2sdkee …

Member Avatar for jwenting
0
1K
Member Avatar for qwest21

i wrote a Chat program and my drop down menu doesnt appear in the front...i used toolkit and Flow layouts to drow the GUI.. need help badly thanks!!!!!!!

Member Avatar for qwest21
0
112
Member Avatar for blufab

How would I go about detecting focus lost on a particular tab? Understanding that each tab is in essence a JPanel, I decided to check to for the focuslost event on that panel but I get nothing. What am I doing wrong?

0
60
Member Avatar for katy238

hey not sure if this is the right forum but i was hoping someone might be able to help me! im trying to send a text file to a web host from a local host and think it should be done using ftp scripting...........but not sure how or where to …

Member Avatar for peter_budo
0
38
Member Avatar for anousha

hi guys im an IT student an i have a very important assignment to return in 2 days time and im stuck with it i dnt know what to do. the assignment is as follows. Write a complete class definition in java for the following.your answer must include at least …

Member Avatar for staneja
0
89
Member Avatar for wavyaquaeyes

Hi All, I have been working on this all night. I have to convert degrees to celcius and vice versa. I keep having 2 errors. "possible loss of precision". I am new to java, but also I think I am having serious mental issues at this point. Here is my …

Member Avatar for wavyaquaeyes
0
157
Member Avatar for heyman121212

Okay I need to find a way to mix up a word (a String) recursively. I have just been trying some stuff: [code] import java.util.Random; public class JumbleRecursive { public static void main(String args[ ]) { String word = "test"; System.out.println(jumbleRecursive(word)); } public static String jumbleRecursive(String word) { String a …

Member Avatar for iamthwee
0
107
Member Avatar for sgware

Short version of my question: __________________________________________ How can I detect a keypress in Java without using a GUI? Long Version: __________________________________________ I am writing a program that users System.out and System.in for its input and output. As you are no doubt familiar, if you are in the middle of typing …

Member Avatar for thekashyap
0
1K
Member Avatar for parthiban

Hi all, I'm new to J2EE programming. I have a simple doubt . I have already created a lookup method for EJB bean in Session bean . My question is how to call a method of an [B]ENTITY[/B] bean (say insertRow) from [B]SESSION[/B] bean method(Say invoke_insertRow) . Please provide me …

Member Avatar for parthiban
0
110
Member Avatar for Cerberus

I've been trying to install JOGL but can't seem to get it to work. Can anyone give me a simple expanation of how to install it please.

0
52
Member Avatar for sadbhavini

why am i getting this error PLZZZ HELP!!! Exception in thread "main" java.lang.NoClassDefFoundError: config/java i'm just started learning Java please help me out

Member Avatar for masijade
0
79
Member Avatar for Ezednene

Hi i am having problems with my code and someone had a similar problem and i used the solution given but it did not work out for me. here is the error msg: Unable to create MIDlet ConcentKemMIDlet.java java.lang.ClassNotFoundException: ConcentKemMIDlet/java at com.sun.midp.midlet.MIDletState.createMIDlet(+29) at com.sun.midp.midlet.Selector.run(+22) please can someone help me, and …

Member Avatar for jwenting
0
51

The End.