R
RC
How do I set a JButton to un-clickable, the text is gray out;
later I can reset it back to clickable, the text return to normal?
Thank Q very much!
P.S. removeActionListener will be no command action only, but the button
still clickable and text is not grey out.
later I can reset it back to clickable, the text return to normal?
Thank Q very much!
P.S. removeActionListener will be no command action only, but the button
still clickable and text is not grey out.