Anda di halaman 1dari 5

Applet, Frame, Window, Dialog

awt => Abstract Windowing Toolkit

Ur Class
Applet
Panel
Container
Component
Object

Ur Class
Frame
Window
Container
Component
Object

Ur Class
Dialog
Window
Container
Component
Object

SLNO COMPONENT INTERFACE / LISTENER METHOD

1 Label

2 Button ActionListener actionPerformed(ActionEvent e)

3 TextField TextListener textValueChanged(TextEvent e)


ActionListener actionPerformed(ActionEvent e)

4 Checkbox ItemListener itemStateChanged(ItemEvent e)

5 List ItemListener itemStateChanged(ItemEvent e)

ActionListener actionPerformed(ActionEvent e)

6 Choice ItemListener itemStateChanged(ItemEvent e)

7 Scrollbar AdjustmentListener adjustmentValueChanged(AdjustmentEvent e)

8 TextArea TextListener textValueChanged(TextEvent e)

9 MenuBar

10 Menu

11 MenuItem ActionListener actionPerformed(ActionEvent e)


12 KeyListener keyPressed(KeyEvent e)

keyReleased(KeyEvent e)

keyTyped(KeyEvent e)

13 MouseListener mouseEntered(MouseEvent e)

mouseExited(MouseEvent e)

mousePressed(MouseEvent e)

mouseReleased(MouseEvent e)

mouseClicked(MouseEvent e)

14 MouseMotionListener mouseMoved(MouseEvent e)

mouseDragged(MouseEvent e)

15 WindowListener windowOpened(WindowEvent e)

windowClosed(WindowEvent e)

windowClosing(WindowEvent e)

windowActivated(WindowEvent e)
windowDeactivated(WindowEvent e)

windowIconified(WindowEvent e)

windowDeiconified(WindowEvent e)

16 FocusListener focusGained(FocusEvent e)

focusLost(FocusEvent e)

17 ComponentListener componentShown(ComponentEvent e)

componentResized(ComponentEvent e)

componentHidden(ComponentEvent e)

componentMoved(ComponentEvent e)

but1 but2 but3 but4 but5 but6 but7 but8 but9


18 FlowLayout
but10

north

center
19 BorderLayout west east

south
20 GridLayout

21 GridBagLayout

22 CardLayout

Anda mungkin juga menyukai