Package com.barrybecker4.ui.components

Examples of com.barrybecker4.ui.components.GradientButton.addActionListener()


    private JButton addButton( String label, String tooltip, boolean enabled) {
        JButton b = new GradientButton();
        b.setText( label );
        b.setToolTipText( tooltip );
        b.setEnabled(enabled);
        b.addActionListener( this );
        add(b);
        return b;
    }

    /**
 
View Full Code Here


        GradientButton button = new GradientButton( "Options" );

        optionsDialog_ = createOptionsDialog();

        button.addActionListener( new ActionListener() {

            @Override
            public void actionPerformed( ActionEvent e ) {

                optionsDialog_.setLocationRelativeTo( (Component) e.getSource() );
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.