Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JButton enable/disable

843806Jun 5 2007 — edited Apr 7 2008
Hi there!

I have disabled my JButton by calling the JButtonObject.setEnabled(false) but it's event handler gets fired even when I click on a disabled button,,,I don't wanna fire the event handler when the JButton is in the disabled state....can anybody please help?

Thanks in advance..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2008
Added on Jun 5 2007
16 comments
465 views