Package org.enhydra.jawe

Examples of org.enhydra.jawe.ButtonPropertyChangedListener


      JButton buttonUp = new JButton();
      buttonUp.setIcon(ipc.getPanelSettings().getArrowUpImageIcon());
      buttonUp.setPreferredSize(new Dimension(16, 16));
      buttonUp.setEnabled(false);
      buttonUp.addActionListener(moveUpAction);
      moveUpAction.addPropertyChangeListener(new ButtonPropertyChangedListener(buttonUp));

      JButton buttonDown = new JButton();
      buttonDown.setIcon(ipc.getPanelSettings().getArrowDownImageIcon());
      buttonDown.setPreferredSize(new Dimension(16, 16));
      buttonDown.setEnabled(false);
      buttonDown.addActionListener(moveDownAction);
      moveDownAction.addPropertyChangeListener(new ButtonPropertyChangedListener(buttonDown));

      p.add(buttonUp);
      p.add(Box.createVerticalGlue());
      p.add(buttonDown);
      return p;
View Full Code Here

TOP

Related Classes of org.enhydra.jawe.ButtonPropertyChangedListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.