Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
JButton inherits the setSelected method from javax.swing.AbstractButton. When you want all the buttons to appear not selected, you could go through and call the setSelected method for each button, setting it to false. Is this what you were looking for? > The problem is that when i press one of those buttons the state of this turns true (you see the button selected), the program make his work but when it's finished the state of the buttons continue true and i want that the state pass to be false (see the button not selected).
Replies:
|
Sponsored Links
|