View Single Post
  #1 (permalink)  
Old 04-24-2008, 06:16 AM
Leprechaun Leprechaun is offline
Member
 
Join Date: Dec 2007
Posts: 30
Leprechaun is on a distinguished road
[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.
Reply With Quote
Sponsored Links