Package at.bestsolution.ext.swing

Examples of at.bestsolution.ext.swing.GradientJRadioButtonMenuItem


  }

  //  ----------------------------------------------------------------------------
  private JRadioButtonMenuItem createGradientRadioButton(String displayedText, String description, int drawing_mode, int mnemonicKey, KeyStroke accelerator, int buttonIndex)
  {
    GradientJRadioButtonMenuItem button = new GradientJRadioButtonMenuItem( IconProvider.getInstance(), "fill_gradient" );
    button.addActionListener(new SetDrawing2GradientAction(MainWindow.getDrawingPanel(), drawing_mode, MainWindow.MAIN_WINDOW, buttonIndex, true));
    // NOT NEEDED BECAUSE CHANGE LISTENER ALREADY REGISTERED
    // WITHIN TOOLBAR
    // button.addChangeListener(MainWindow.getDrawingPanel());

    return button;
View Full Code Here

TOP

Related Classes of at.bestsolution.ext.swing.GradientJRadioButtonMenuItem

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.