Gettext Returns Text Associated With Label Settext (String STR) Sets The Text of Label
Gettext Returns Text Associated With Label Settext (String STR) Sets The Text of Label
Methods of Button: Method Purpose setLabel(String str) sets the caption of the button with given string getLabel() returns the caption of the button getActionCommand() Returns the string used in event handling setActionCommand( sets the string String str) used in event handling