John Joe wrote:I wonder how to change the jToggleButton in java.
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
posted 11 months ago
No need for refresh. That will be done automatically.
If you put this code into an ActionListener, you can then add this ActionListener to all your
togglebuttons. You do not need to inspect all the buttons to find out which one it was.
Just use: getSource().setEnabled(false).