Package de.sciss.gui

Examples of de.sciss.gui.MultiStateButton.addItem()


      }
    });
   
    ggLimiter = new MultiStateButton();
    ggLimiter.setNumColumns( 8 );
    ggLimiter.addItem( "Limiter" );
// NOTE: BUG WITH CUSTOM COMPOSITE ON WIN-XP!!!
//    ggLimiter.addItem( "Limiter", null, new Color( 0xFF, 0xFA, 0x9D ), new Color( 0xFA, 0xE7, 0x9D ));
ggLimiter.addItem( "Limiter", null, new Color( 0xFF, 0xFA, 0x9D ));
    ggLimiter.addActionListener( new ActionListener() {
      public void actionPerformed( ActionEvent e ) {
View Full Code Here


    ggLimiter = new MultiStateButton();
    ggLimiter.setNumColumns( 8 );
    ggLimiter.addItem( "Limiter" );
// NOTE: BUG WITH CUSTOM COMPOSITE ON WIN-XP!!!
//    ggLimiter.addItem( "Limiter", null, new Color( 0xFF, 0xFA, 0x9D ), new Color( 0xFA, 0xE7, 0x9D ));
ggLimiter.addItem( "Limiter", null, new Color( 0xFF, 0xFA, 0x9D ));
    ggLimiter.addActionListener( new ActionListener() {
      public void actionPerformed( ActionEvent e ) {
        superCollider.setLimiter( ggLimiter.getSelectedIndex() == 1 );
      }
    });
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.