Problem with swing-buttons
Hi! I'm having some problems with a program i'm writing, the problem i'm facing is that i've created a few buttons using swing. But when I press the buttons nothing happens except for one button. For example, i've created two buttons, one is "Draw a card" and another is "Stop" and "Exit to OS", but Draw a card and Stop does not work but Exit to OS does. I don't understand why, any help would be appreciated :)
Re: Problem with swing-buttons
If you want help, you'll have to provide a short (fits in one file), self-contained (we can copy it, paste it into a text file, compile it, and run it without making any changes to anything), compilable example- also known as an SSCCE. You have way too much extra stuff for people to wade through.
Re: Problem with swing-buttons
Please use highlight tags instead of code tags.
I've also moved this thread to the correct forum - AWT / Java Swing - Java Programming Forums
Re: Problem with swing-buttons
I'm taking a look at this but I can't get the code to compile.
See if this link helps you move forward - http://www.javaprogrammingforums.com...ava-swing.html
Re: Problem with swing-buttons
I've solved the problem, thank you very much for the respons! :)
Re: Problem with swing-buttons
No problem.
What was your solution in the end? Did you adopt a new method or find the errors in your original code?
Re: Problem with swing-buttons
hai I want to know about how to add status bar in textarea
Re: Problem with swing-buttons
Quote:
Originally Posted by
arunamathi
hai I want to know about how to add status bar in textarea
So start your own thread, they're free. Why try to hijack a thread with an unrelated question?
db
Re: Problem with swing-buttons
Quote:
Originally Posted by
Darryl.Burke
So start your own thread, they're free. Why try to hijack a thread with an unrelated question?
db
WHAT! FREE! I've been getting robbed...:ar!