| Author |
My code does not run
|
paulo cs
Ranch Hand
Joined: Dec 30, 2008
Posts: 34
|
|
Hi, good morning. Happy new year for all. I've a code, but it does not run. Before it was running but now it stopped. Bellow my code. Tanks for any help.
|
Paulo Correa, Desenvolvimento de Software, (55 19)8126-8418
|
 |
Himanshu Gupta
Ranch Hand
Joined: Aug 18, 2008
Posts: 598
|
|
The problem is here What is sair? It is not a String neither an object refrence. I just changed the code to HTH [ December 31, 2008: Message edited by: Himanshu Gupta ]
|
My Blog SCJP 5 SCWCD 5
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
|
What is the error, It helps us a lot, If you specified the problem or an error, then putting simply a full code !
|
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32657
|
|
Sagar Rohankar is correct: read this FAQ. That doesn' tlook like good design, that there are not individual Listeners for the Buttons. And you appear to have two inner classes with the same name. Best to learn how to design Listeners so as to use a different Listener for each Button. That sort of thing is usually discussed on the Swing forum, so I shall move you there.
|
 |
 |
|
|
subject: My code does not run
|
|
|