Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


A javax.swing.JButton is returned, unless the user passes in a subclass of JButton as the value argument, in which case the value argument is returned.


See also: JComponent

Declared in JButton

  • defaultButton <boolean> Whether or not this button is the default button
  • defaultCapable <boolean> Whether or not this button can be the default button