Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Action action = new AbstractAction() {
  2. public void actionPerformed(ActionEvent e) {
  3. //set selected state of all registered buttons true
  4. }
  5. }
  6. AbstractButton item = new JCheckBoxMenuItem(action);
  7. AbstractButton button = new JToggleButton(action);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement