Presentation is loading. Please wait.

Presentation is loading. Please wait.

Graphical user interface with Swing by jose maria gonzalez pinto

Similar presentations


Presentation on theme: "Graphical user interface with Swing by jose maria gonzalez pinto"— Presentation transcript:

1 Graphical user interface with Swing by jose maria gonzalez pinto
Swing components and containers Events Graphical user interface with Swing by jose maria gonzalez pinto

2 Why Swing? Swing has a set of useful and extensive GUI elements.
Swing does not depend on the platform.

3

4 JLabel JButton JRadioButton JTextArea JTextField
Componentes JTextArea JTextField

5 JLabel Useful for text , images or both Back

6 JButton Useful for text, an image or both. Back

7 JRadioButton Back

8 JTextField Back

9 JTextArea Back

10 JList Back

11 SwingApplication.java Demo
Creates four Swing components: a frame (JFrame) a panel, sometimes called pane (JPanel) a button (JButton) a label (JLabel)

12 Containers

13 Special containers

14 Special containers

15 Basic controls

16 Controles para despliegue de información (no editables)
Special controls

17 Layout Management


Download ppt "Graphical user interface with Swing by jose maria gonzalez pinto"

Similar presentations


Ads by Google