Definition of Jbutton

JDK Doc(JAVA)
JButton
- class javax.swing..JButton 
public class JButton extends AbstractButton implements Accessible 
Tree:java.lang.Object - java.awt.Component - java.awt.Container - javax.swing.JComponent - javax.swing.AbstractButton - javax.swing.JButton
An implementation of a "push" button.

JButton()
- Constructor for class javax.swing.JButton 
public JButton ()
Creates a button with no set text or icon.

JButton(Icon)
- Constructor for class javax.swing.JButton 
public JButton (Icon  icon)
Creates a button with an icon.Parameters: icon - the Icon image to display on the button

JButton(String)
- Constructor for class javax.swing.JButton 
public JButton (String  text)
Creates a button with text.Parameters: text - the text of the button

JButton(String, Icon)
- Constructor for class javax.swing.JButton 
public JButton (String  text, Icon  icon)
Creates a button with initial text and an icon.Parameters: text - the text of the button. - the Icon image to display on the buttonicon - the Icon image to display on the button

Search Dictionary:
Search Web Search Dictionary