Text Input Components
Home ] Up ] Model-View-Controller ] Layout Management ] Labels ] [ Text Input Components ] Checkboxes and Radio Buttons ] Borders ] Lists and Combo Boxes ] Scroll Bars and Scroll Panes ] Sliders & Spinners ] More on Layout Management ] Dialog Boxes ]

 

JTextComponent
JTextField
JPasswordField
JTextArea
The Document Model
JTextArea Scrolling
JTextArea Editing

 

There is a (small) family of components whose purpose in life is to display text, and also to accept changes to that text.  

The two most commonly used members of the family are:

  • JTextField

and

  • JTextArea

both of which extend the abstract class JTextComponent.

There are also some other text input components that we'll cover, and a number of more complex ones that we won't cover.

 

This page was last modified on 02 October, 2007