Package at.bestsolution.ext.swing

Examples of at.bestsolution.ext.swing.AlphaColorJButton


    }

    //----------------------------------------------------------------------------
    private void addSetColorAction(String displayedText, String description, String icon_name, int mnemonicKey, KeyStroke accelerator, String name,  Color color, int border_v)
    {
        AlphaColorJButton button = new AlphaColorJButton( IconProvider.getInstance(), name, color );
        button.setName(name);
        button.addChangeListener( MainWindow.getDrawingPanel() );
        button.setToolTipText(description);
       
        add( button );
    }
View Full Code Here


        JPanel panel = new JPanel( new FlowLayout( FlowLayout.LEFT) );
        panel.setBorder(new TitledBorder(new EtchedBorder(), "Background"));
       
        if( DrawSWFConfig.getInstance().getProperty("independent_text_color").equals("true") )
        {
      color_button_ = new AlphaColorJButton( IconProvider.getInstance(), "text_color" );
        }
        else
        {
      color_button_ = new AlphaColorJButton( IconProvider.getInstance(), "fill_color" );
        }
       
        panel.add(color_button_);

        return panel;
View Full Code Here

TOP

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

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.