Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Action action = new AbstractAction() {
- public void actionPerformed(ActionEvent e) {
- //set selected state of all registered buttons true
- }
- }
- AbstractButton item = new JCheckBoxMenuItem(action);
- AbstractButton button = new JToggleButton(action);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement