About the course:
Learn how to create User Interfaces for Java apps using Swing
Our Java Swing training course shows how to create contemporary user interfaces in Java using Swing for building desktop GUI applications, incorporating table controls, tree controls, list controls and more.
Swing is the go-to toolkit for Graphical User Interface design.Swing is a component of Oracle's Java Foundation Classes, and supercedes AWT in terms of features and modernity, and deployable across many platforms with a consistent look and feel.
Swing also provides APIs for drag-and-drop, accessing the Desktop and the System Tray, and performing copyand-paste operations with the Clipboard. This course covers all of these features, and also addresses advanced issues such as defining custom models, renderers, and editors.
By the end of this course, you will have learnt:
- Getting Started with Swing
- Containers and Components
- Layouts and Dialogs
- Tables and Trees
- Defining Custom Models
- Defining Custom Renderers and Editors
- Globalization and Localization
- Accessibility
- Drag and Drop and Data Transfer
- Integrating with the Desktop and the System Tray
Who should attend
Java developers who wish to develop and deploy Java applications with commercial-quality and highly functional user interfaces.
Prerequisites
Delegates should have at least 6 months' experience coding in Java.
On-site
If you have a team of Java developers who need to learn how to use Swing, please get in touch to find out how we can customise this course for on-site delivery at your offices.
Java Swing User Interface Development Training Course Syllabus
Getting Started with Swing
- Introduction to SwingSwing example application
- Containers and Components
- Overview of panes and components
- Using panes in a UI
- Adding components to panes
Layouts and Dialogs
- Overview of layout managers
- Using layout managers effectively
- Displaying dialog boxes
Tables and Trees
- Overview of JTable
- Configuring and using JTable
- Overview of JTree
- Populating a JTree
- Handling events and inserting/removing nodes
Defining Custom Models
- Recap of MVC concepts
- Defining a custom table model
- Defining a custom tree model
Defining Custom Renderers and Editors
- Overview of renderers and editors
- Defining a custom cell renderer
- Defining a custom cell editor
Globalization and Localization
- Internationalization fundamentals
- List resource bundles
- Component orientation
Accessibility
- Overview of accessibility
- Accessibility guidelines
- Defining actions and key bindings
Drag and Drop and Data Transfer
- Overview of data transfer
- Adding data transfer support to components
- Extending D'n'D support
- Additional techniques
Integrating with the Desktop and the System Tray
- Integrating with the desktop
- Accessing the system tray