Package at.bestsolution.drawswf.actions

Examples of at.bestsolution.drawswf.actions.SetDrawingModeAction


    {
        JRadioButton button;
        ImageIcon icon;
        URL icon_url;

        SetDrawingModeAction draw_action = new SetDrawingModeAction(description, MainWindow.getDrawingPanel(), drawing_mode, MainWindow.MAIN_WINDOW, buttonIndex);
        icon_url = getClass().getClassLoader().getResource(MainWindow.getImagePath() + "24x24/" + icon_name);
        icon = new ImageIcon(icon_url);
        button = new JRadioButton();
        button.setAction(draw_action);
        button.setIcon(icon);
View Full Code Here


    JRadioButtonMenuItem rbMenuItem;

    icon_url = getClass().getClassLoader().getResource(MainWindow.getImagePath() + "16x16/" + icon_name);
    icon = new ImageIcon(icon_url);

    SetDrawingModeAction draw_action =
      new SetDrawingModeAction(displayedText, description, MainWindow.getDrawingPanel(), drawing_mode, mnemonicKey, accelerator, MainWindow.MAIN_WINDOW, buttonIndex);
    rbMenuItem = new JRadioButtonMenuItem("A radio button menu item");
    rbMenuItem.setAction(draw_action);
    rbMenuItem.setIcon(icon);

    return rbMenuItem;
View Full Code Here

TOP

Related Classes of at.bestsolution.drawswf.actions.SetDrawingModeAction

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.