Overview
In this practical 3-day Swing course, you will learn to develop desktop applications using Swing under Java 1.6. You will learn how to design and write form-based GUI applications using standard Swing components and, off course, how to use the Model-View-Controller approach to build your Swing-based applications. You will also learn how to use interface components and component layout managers provided by Swing and discuss important best practices for user interface design.
Who Can Benefit
This course is for an experienced Java programmer who wants to learn how to use Swing and Model View Controller for your Java Desktop GUI development.
Prerequisites
To benefit from this Swing course, you need to attend one of Sun's Java programming courses or have equivalent experience before attending this Swing course.
Skills Gained
- Upon successful completion of the course, the student should be able to:
- Recognize good user interface design principles
- Use Swing's GUI components and Component Layout Managers
- Write GUI's for form-based applications using standard Swing components
- Understand how develop your GUIs using Model View Controller
- Write Unit Tests for your Swing-based GUIs
Course Content
Module 1 - Introduction
- Why Swing?
- AWT, SWT & Swing Comparison
- Why Model–View–Controller?
- Pluggable Look-and-Feels
- Applets
- Java web start
- Hello World in Swing
- Sample UIs
Module 2 - Swing Fundamentals
- Event-driven UIs and Swing event handling
- Simple Example: Button in a Frame
- MVC
- Fonts, colors, borders
- A word on threads
Module 3 - Common Containers, Components, and Layouts
- Containers
- JFrame, JDialog, JPanel, JScrollPane
- Components
- JComponent
- JLabel, JButton
- JToggleButton, JRadioButton
- Sliders and spinners
- JTextField and JTextArea
- Layouts
- FlowLayout, BorderLayout, GridLayout, BoxLayout
Module 4 - Menus, Actions, and Toolbars
- JMenu, JMenuItem
- JToolBar, Action
- Putting it together: Developing a simple application
Module 5 - Principles of UI Design
- Designing for ease of use
- Paper prototypes and usability testing
- Performance and perceived performance
Module 6 - More Containers, Components, and Layouts
- Containers
- JPopup
- JSplitPane and JTabbedPane
- Components
- Tooltips
- ComboBoxes
- Listboxes
- JProgressBar
- JTable
- Layouts
- GridBagLayout
Module 7 - Automatic Testing with JFC Unit
Module 8 - Branding and Customization
- About Box
- Splash screens
- Logos and icons
- Internationalization / Localization
Module 9 - Even More Containers, Components, and Layouts
- Containers
- JDesktopPane, JInternalFrame
- JRootPane, JWindow
- Components
- File chooser
- Color chooser
- Date chooser
- JOptionPane
- JTree
- Layouts
- SpringLayout, OverlayLayout
Module 10 - Printing and Data Transfer
- Printing
- Copy and paste
- Drag and drop
Kurssprach deutsch, Unterrichtsmaterial überwiegend in englischer Sprache.