Package at.bestsolution.ext.swing

Examples of at.bestsolution.ext.swing.GradientJRadioButtonMenuItem.addActionListener()


  //  ----------------------------------------------------------------------------
  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
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.