Constructor JButton(Action a)
Member of: javax.swing.JButton
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return new JButton (this);
2 JButton button = new JButton(action);
3 refButton = new JButton(new ContentAttribSelectionAction((Container)this, this.brickDirector, "href"));
4 JButton button = new JButton(action);
5 matchButton = new JButton(new ContentReferenceMatchAction((Container)this, this.flowDirector));
6 JButton removeButton = new JButton(removeTableAction);
7 JButton updateButton = new JButton(refreshAction);
8 JButton cutButton = new JButton(new DefaultEditorKit.CutAction());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.