Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My code does not run

 
paulo cs
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the error, It helps us a lot, If you specified the problem or an error, then putting simply a full code !
 
Campbell Ritchie
Sheriff
Pie
Posts: 48981
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic