Please enable JavaScript.
Coggle requires JavaScript to display documents.
C2 : Graphical User Interface (GUI) (JComponent (JLabel (setVerticalTextPo…
C2 : Graphical User Interface (GUI)
Java Swing
javax.swing
Lightweight component
heavyweight components
java.awt.Window (JFrame)
Inherited from
Container
Container
to place components
JComponent
Class
ImageIcon
SwingConstants
Abstract Windowing Toolkit
java.awt
tied directly to the local platform’s graphical user interface capabilities
heavyweight components
JComponent
JLabel
setVerticalTextPosition
setHorizontalTextPosition
getText
setText
setVerticalAlignment
setHorizontalAlignment
Icon
setIcon
getIcon
JTextComponent
JPasswordField
getPassword
JTextField
setEditable
JTextArea
attach JScrollPane for scrollbar
ScrollPane.HORIZONTAL_SCROLLBAR_NEVER.
setText
JButton
AbstractButton
setRolloverIcon()
JToggleButton
JRadioButton
ButtonGroup
JCheckBox
JComboBox
getSelectedIndex()
JList
setVisibleRowCount
setSelectionMode
SINGLE_INTERVAL_SELECTION
MULTIPLE_INTERVAL_SELECTION
setListData
getSelectedValues
JScrollPane
JPanel
paintComponent
setTitle
getPreferredSize
JSlider
setMajorTickSpacing
setPaintTicks
getValue
Menu
JMenu
addSeparator
JMenuBar
JMenuItem
JFrame
setJMenuBar
JCheckBoxMenuItem
JRadioButtonMenuItem
Component
EventListener
Keyboard
KeyListeners
keyPressed
keyReleased
keyTyped
KeyEvent
getKeyCode
getKeyText
getKeyChar
isActionKey
getModifiers
getKeyModifiersText
Mouse
addMouseMotionListener
addMouseListener
getClickCount
Container
Layout
FlowLayout
setAlignment
BorderLayout
GridLayout
JFrame
setDefaultCloseOperation
DISPOSE_ON_CLOSE
DO_NOTHING_ON_CLOSE
HIDE_ON_CLOSE
setVisible
setSize
setLocation
DialogBox
JOptionPane
JDialog
JPopupMenu
UI Manager
LookAndFeelInfo
getInstalledLookAndFeels
setLookAndFeel
MDI
multiple document interface
JDesktopPane
JInternalFrame