new JButton()
public function JButton(text, icon:Icon)
JButton(text:String, icon:Icon)
JButton(text:String)
JButton(icon:Icon)
public function updateUI():Void
Description copied from AbstractButton
Resets the UI property to a value from the current look
and feel. Subtypes of AbstractButton
should override this to update the UI. For
example, JButton
might do the following:
setUI(ButtonUI(UIManager.getUI(this)));
public function getUIClassID():String
Description copied from Component
Returns the UIDefaults
key used to
look up the name of the org.aswing.plaf.ComponentUI
class that defines the look and feel
for this component. Most applications will never need to
call this method. Subclasses of Component
that support
pluggable look and feel should override this method to
return a UIDefaults
key that maps to the
ComponentUI
subclass that defines their look and feel.