Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Introduction to Java Swing Programming

Course Summary

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

The 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). Next, it explores the core Swing component library, covering everything from JFrames to JTables. The course concludes by discussing about general user-interface design principles and packaging Java Graphical User Interface (GUI) applications.

Purpose
Learn how to design stand-alone desktop-oriented Graphical User Interface (GUI) based Java applications using Swing/Java Foundation Components (JFC).
Audience
Experienced Java Programmers looking to build rich-client applications using Java GUI programming.
Role
Software Developer
Skill Level
Intermediate
Style
Hack-a-thon - Learning Spikes - Workshops
Duration
3 Days
Related Technologies
Java | Java Swing / JFC | UI/UX

 

Productivity Objectives
  • Identify the key elements of a Java Foundation Component (JFC)
  • Describe how the model-view-controller pattern is applied within Java Swing
  • Compile a simple stand-alone Swing-based Graphical User Interface (GUI)
  • Construct and implement a robust User Interface (UI) utilizing Layout Managers and JComponents
  • Illustrate Swing utilities to create a more responsive UI

What You'll Learn:

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
    • Event listeners
  • Introduction to Java Foundation Classes Swing
    • Comparing Swing to AWT
    • Key JFC components
    • Work 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
    • Utilize 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
    • Utilize View Ports
    • Image support
  • Popup Elements
    • Dialogs and message boxes
    • File and color choosers
    • Custom Dialogs
    • Tooltips
  • Working with Swing
    • Threading issues with Swing
    • Utilize Swing utilities
    • Pluggable-look-and-feel (PLAF)
    • Introduction to Java 2D
    • Prints
    • Internationalization
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”

VMware

Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.