user interface - How to disable javax.swing.JButton in ...
2009-10-26 · I want that whenever I clicked on that 'Start' button, the start button should be disabled and the 'Stop' button be enabled. For that I have written the following code in the 'ActionPeformed (...)' method of the 'Start' button. startButton.setEnabled (false); stopButton.setEnabled (true);
Get Price