ITE FINALS Flashcards
gago kayong lahat
____ is a lightweight and platform-independent GUI toolkit with widgets for building optimized window-based applications.
Swing
Part of JFC (Java Foundation Classes) which was built on top of the AWT API and entirely written in java.
Swing
What are the 4 features of Swing
Light Weight. Rich controls, Highly Customizable, Pluggable look-and-feel
What are the 3 main aspects of Swing
UI Elements, Layouts, Behaviors
The container is a class that has other components in it.
SWING AS CONTAINER
What are the 3 types of container class (swing)?
Panel, Frame, Dialog
used to organize components on to a window
Panel
fully functioning window with icons and titles
Frame
pop-up window but not fully functional like the frame.
Dialog
simplest component in the Swing toolkit. The label can contain text, icon or both.
JLabel
may contain other visual components
methods setLayout() and add()
JPanel
used to generate events when the user clicks or presses on it.
JButton
allows the user to input text value in a single line format
contains editable text
methods setText() and getText()
JTextField
allows the user to input multiple lines of text
JTextArea
inherits all functionality of JToggleButton class.
JCheckBox
two state button that allows the user to switch on and off
JToggleButton
allows the user to make a single choice from a set of options.
JRadioButton
displays a drop down list. JComboBox gives users options that they can select one and only one item at a time.
JComboBox
allows users to choose either a single selection or multiple selections.
JList
allows users to enter passwords. Jpassword displays echo characters instead of the password itself. The default echo character is (*).
JPasswordField
is a text component that can handle different text with style. By default, it can handle plain text, HTML, and Rich Text Format (RTF).
JEditorPane
consists of a text field on the left side and two buttons with up and down arrows on the right side.
JSpinner
If you press the up or down button, the item that displays in the input text will change in a given ordered sequence.
JSpinner
consists of a rectangular tab called slider or thumb located between two arrow buttons.
JScrollBar
a widget that displays progress of a lengthy task, for instance file download or transfer.
JProgressBar
used for navigating the file system.
JFileChooser
provides a pane of controls designed to allow a user to manipulate and select a color.
JColorChooser
enables you to create and customize various kinds of dialogs. Dialogs can have customized dialog layout, icons, dialog title, dialog text and button text.
JOptionPane