| Author |
please help needed
|
Fatima Waqar
Greenhorn
Joined: Jan 12, 2012
Posts: 3
|
|
please correct this code out for me...
|
 |
Nitin Surana
Ranch Hand
Joined: Jan 21, 2011
Posts: 129
|
|
|
This is NotACodeMill. What is the problem?
|
 |
Fatima Waqar
Greenhorn
Joined: Jan 12, 2012
Posts: 3
|
|
Thank you so much for the response
The event handling in the scenario is not implemented with action listener .. I want to know how to do so..plus the catch block needs to be overviewed
|
 |
Nitin Surana
Ranch Hand
Joined: Jan 21, 2011
Posts: 129
|
|
|
There can't be two public classes within the same java file.
|
 |
Fatima Waqar
Greenhorn
Joined: Jan 12, 2012
Posts: 3
|
|
|
What should be done then?
|
 |
Nitin Surana
Ranch Hand
Joined: Jan 21, 2011
Posts: 129
|
|
|
remove the public keyword.
|
 |
Nitin Surana
Ranch Hand
Joined: Jan 21, 2011
Posts: 129
|
|
There are small mistakes like space missing, actionPerformed case issue, various public classes etc.
I have corrected the code and it is now, not giving any compile errors. But please use a IDE (Netbeans/Eclipse) so that these silly problems will not occur and you can focus more on the logic.
|
 |
Jeff Verdegan
Bartender
Joined: Jan 03, 2004
Posts: 3133
|
|
|
In the future, please UseAMeaningfulSubjectLine
|
 |
 |
|
|
subject: please help needed
|
|
|