aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes My code does not run Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "My code does not run" Watch "My code does not run" New topic
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: 2902
    
    1

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: 38405
    
  23
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