Thread
:
[SOLVED] Disabling a button not working
View Single Post
#
1
(
permalink
)
04-24-2008, 06:16 AM
Leprechaun
Member
Join Date: Dec 2007
Posts: 30
[SOLVED] Disabling a button not working
I have a button which I can't seem to disable.
Code:
JButton temp = (JButton)event.getSource(); temp.setText("WHY?"); temp.disable();
The text is set to "WHY?" but the button is not disabled, that's the part I find odd.
Sponsored Links
Leprechaun
View Public Profile
Send a private message to Leprechaun
Find all posts by Leprechaun