Panel applet japplet container window frame dialog

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ecialized components that provide a place for other Swing components to paint themselves. Panel Applet JApplet Container Window Frame Dialog JFrame JDialog JComponent Lightweight JPanel Heavyweight Swing Components in the javax.swing package 3. JComponent is the base class for all Swing components except top-level containers. To use a component that inherits from JComponent, you must place the component in a containment hierarchy whose root is a top-level Swing container. EE3206/EE5805 Java Programming & Applications 6 GUI GUI Helper Classes Dimension Font FontMetrics Object Color Graphics Component * LayoutManager 1 Classes in the java.awt package Heavyweight Panel Applet JApplet Container Window Frame Dialog JFrame JDialog JComponent 4. The helper classes are not subclasses of Component. They are used to describe the properties of GUI components such as graphics context, colors, fonts, and dimension. Lightweight JPanel Swing Components in the javax.swing package EE3206/EE5805 Java Programming & Applications 7 Swing Swing GUI Components JCheckBoxMenuItem JMenuItem JMenu JRadioButtonMenuItem JCheckBox JRadioButton AbstractButton JButton JToggleButton JComponent JTextComponent JEditorPane JTextField JTextArea JPasswordField JLabel JList JComboBox JSplitPane JPanel JOptionPane JSeparator JFileChooser JScrollBar JScrollPane JColorChooser JSlider JRootPane JToolTip JTabbedPane JToolBar JTree JLayeredPane JPopupMenu JMenuBar JTable JTableHeader JInternalFrame JProgressBar JSpinner EE3206/EE5805 Java Programming & Applications 8 AWT AWT (Optional) AWTEvent Font FontMetrics Object Color Graphics Component Container Button Label TextComponent Panel Window Applet Frame Dialog FileDialog TextField List Choice CheckBox TextArea LayoutManager CheckBoxGroup Canvas MenuComponent MenuItem MenuBar Menu Scrollbar EE3206/EE5805 Java Programming & Applications 9 Frames Frames and JFrame Class Frame Frame is a window th...
View Full Document

Ask a homework question - tutors are online