java Programming Glossary: tristatecheckbox
How to add checkbox to JTree node to manage multiselection? http://stackoverflow.com/questions/12870908/how-to-add-checkbox-to-jtree-node-to-manage-multiselection import javax.swing.plaf.ActionMapUIResource public class TristateCheckBox extends JCheckBox static final long serialVersionUID 0 This.. new State private final TristateDecorator model public TristateCheckBox String text Icon icon State initial super text icon Add a listener.. setModel model setState initial Constractor types public TristateCheckBox String text State initial this text null initial public TristateCheckBox..
|