Develop Intelligence
Introduction to Java Swing Programming
Learn how to create stand-alone desktop-oriented Graphic (GUI-based) Java applications using Swing / JFC.

The Introduction to Java Swing Programming training course explores the various User Interface Toolkits (UI Toolkits) available within the Java language, focusing primarily on the Java Foundation Classes, also known as Swing.

The Java Swing Programming course begins with a base level discussion around rich-client development, event-based programming, and Java’s event model, within the context of the Abstract Windowing Toolkit (AWT). Then the JFC training course transitions into an in-depth exploration of the core Swing component library, covering everything from JFrames to JTables.

The Introduction to Java Swing Programming course concludes with a discussion about general user-interface design principles and packaging Java GUI applications.

After this course, you will be able to:

  • Identify the key elements of a Java Foundation Component
  • Describe how the model-view-controller pattern is applied within Java Swing
  • Create a simple stand-alone Swing-based GUI
  • Design and implement a robust user interface using Layout Managers and JComponents
  • Apply Swing utilities to create a more responsive UI
This course will be delivered in 3 Days

DI will work with you and your team to define the most appropriate delivery structure, schedule and dates. Structure, schedule and dates will be determined by project schedule, team availability and classroom availability. And of course, it will also be determined by DI’s instructor availability.

In the Introduction to Java Swing Programming training course, you’ll learn:

  • GUI Development with Java
    • Introduction to Abstract Windowing Toolkit
    • Observer and Observable
    • Event objects, Event Sources, and Event Listeners
  • Introduction to Java Foundation Classes / Swing
    • Comparing Swing to AWT
    • Key JFC components
    • Working with JComponent
  • Swing Component Structure
    • Review of M-V-C pattern
    • Swing and M-V-C
    • Swing Events and Event Listeners
  • Core Swing Components
    • Swing class hierarchy
    • JComponent
    • JButton, JLabel, JTextField, JList, JScrollBar, JSlider, JSplitPane
    • JPanel, JWindow, and JFrame
    • Other Swing components
  • Advanced Swing UI Components
    • Overview of textual input with JTextComponent
    • Simple input with JTextField
    • Using JTextArea
    • Complex text input using JEditorPane
  • Creating Functional Stand-Alone Applications
    • Menus (JMenu)
    • Menubars (JMenuBar)
    • Shutdown hooks
    • JFrame and JWindow
  • User Interface Design with Swing
    • User interface design concepts
    • Layout Managers
    • JPanel, JLayeredPane, JInternalFrame and Z-ordering
    • Utilizing View Ports
    • Image support
  • Popup Elements
    • Dialogs and Message Boxes
    • File and Color Choosers
    • Custom Dialogs
    • Tooltips
  • Working with Swing
    • Threading issues with Swing
    • Using Swing utilities
    • Pluggable-look-and-feel (PLAF)
    • Introduction to Java 2D
    • Printing
    • Internationalization

Introduction to Java
Call us at (877) 629-5631