A Tour Of Swing Servlets
Scroll Panes A scroll pane is a component that presents a rectangular area in which a component may be viewed. Horizontal and/ or vertical scroll bars may be provided if necessary, Scroll panes are implemented in Swing by the j Scrofulous class, which extends J...
A Tour Of Swing Servlets
Tabbed Panes A Tabbed”one is a component that appears as a group of folder sin a file cabinet. Each folder has a title. When a user selects ‘a folder, its contents become visible. Only one of the folders may be selected at a time. Tabbed panes arc commonly...
A Tour Of Swing Servlets
Check Boxes The Check Box class, which provides the functionality of a check box, is a concrete implementation of Abstract Button. Some of its constructors are shown here: JCheckBox(lcon I) JCheckBox(Icon i, boolean slate) JCheckBox(String s) JCheckBox(String 5,...
A Tour Of Swing Servlets
Buttons Swing buttons provide features that arc not found in the Button class defined by the AWT. For example, you can associate an icon with a Swing button. Swing buttons are subclasses of the Abstract Button class, which extends ]Component. AbstractButton contains...
A Tour Of Swing Servlets
A Tour Of Swing Servlets In Part II.you saw how to build user interfaces with the AWT classes. Here, we will take a top of a supercharged alternative Swing is a set of classes that provides more powerful and flexible components than are possible with the AWT. In...