Download presentation
Presentation is loading. Please wait.
Published byJesse Sims Modified over 9 years ago
1
The Swing GUI Components Chapter 29 An enhanced alternative to AWT The PC does not need an appletviewer or browser Swing overcomes some AWT drawbacks
2
AWT vs. Swing Technical: Swing written in Java User: Swing higher level and works across various platforms Programmer: Swing very little difference
3
Swing Applets and Applications Most Swing components use AWT names with a ‘J’ in front of them: Jbutton, Jframe, Japplet etc. Some new components in Swing: ImageIcons on buttons Tooltips Other examples listed in text
4
Swing components: Examples in Text JLabels Jmenu JCheckboxes JMenubar JRadiobuttons JMenuItem Jlist JTree JTextFields JTable JSlider (scrollbar) JFileChoser
5
A program example of Swing and Paint “SwingPlayBallon” Page 542-543 Text Some conversion from AWT to Swing discussed
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.