
String getText( )
returns the text contained in the text field.This method is inher-
ited from the JTextComponent class.
void setEditable( boolean mode )
sets the properties of the text field as editable or non-editable,
depending on whether mode is true or false.The default is
editable.This method is inherited from the JTextComponent class.
void setText( String newText )
sets the text of the text field to newText.This method is inherited
from the JTextComponent class.
ListSelectionListener Interface
Package: javax.swing.event
Description: interface implemented by a class that will handle ListSelec-
tionEvents fired by a user interface component, such as ...