How can i implement a 3-state toggle button? I’m using eclipse and windowBuilder and i’m coding a program which has to have 3-state buttons. I used JToggleButtons and their two state for two bu can’t implement the third state. What can i do?
P.S. I want three icon state.
Maybe you can look at the code used by
com.jidesoft.swing.TristateCheckBox:See
TristateCheckBox.java.It does inherit from
JToggleButtonand has three different icon states.