|
|
|
General
|
TextField
A scrollable text display object with one row of characters is known as the TextField. In the example given below, shown a textfield in the applet by creating its textfield.shtml object.
View Rating |
|
|
General
|
Scrollbar
A scrollbar is represented by a "slider" widget. The characteristics of it are specified by integer values which are being set at the time of scrollbar construction. Both the types of Sliders are available i.e. horizontal and vertical.
View Rating |
|
|
General
|
Label
A displayed label object is known as the Label. Most of the times label is used to demonstrate the significance of the other parts of the GUI. It helps to display the functioning of the next text field. A label is also restricted to a single line of text
View Rating |
|
|
General
|
AWT Components
The class component is extended by all the AWT components. More of the codes can be put to this class to design lot of AWT components. Most of the AWT components shown below directly extend Component like Button, Canvas, Label etc.
View Rating |
|
|
General
|
Graphical User Interfaces
A class library is provided by the Java programming language which is known as Abstract Window Toolkit (AWT). The Abstract Window Toolkit (AWT) contains several graphical widgets which can be added and positioned to the display area with a layout manager
View Rating |
|
|
General
|
Create Your Own Package
The package to which the source file belongs is specified with the keyword package at the top left of the source file, before the code that defines the real classes in the package.
View Rating |
|
|
General
|
Java FTP Library
Let's imagine a situation where we want to write a pure Java application that must download files from a remote computer running an FTP server. We also want to filter downloads on the basis of remote file information like name, date, or size.
View Rating |
|
|