daftar DI SINI

terselubung

Wednesday, February 13, 2013

Aplikasi GUI -> Form / Frame / Interface

Aplikasi GUI -> Form / Frame / Interface
Aplikasi GUI byasa d gunakan dalam pembuatan program. Saya memberi sedikit contoh. slamat di nikmati :D

FORM dalam JAVA
- Container -> Frame / Dialog  -> ex : public fBalok() "extends JFrame"
- Layout     ->
   - Flow Layout
   - Border Layout
   - Card Layout
   - Box Layout
   - Grid Layout
   - Gridbag Layout
   - Absolute Layout
   - Null Layout 
- Component  -> Label, Button, Textfield, Panel
- Action / Event -> Action Listener / Component Adapter

Action = Reaction / Event = Driven
dalam JAVA ada 2 Action
- Listener
  - Action Performed

- Component Adapter
  - Mouse Adapter
    - Mouse Click
    - Mouse Pressed
    - Mouse Released

  - Key Adapter
    - Key Pressed
    - Key Released

  - Focus Adapter
    - Focus Gained
    - Focus Lost

  - Component Adapter
    - Component Shown
    - Component Resized
    - Component Moved







0 comments:

Post a Comment

Followers