Java™ Foundation Classes (JFC) and Swing Development

Summary
This intensive course provides a solid introduction to using JFC to build portable GUI applications. Course attendees will use JFC and Swing components to build lightweight components and professional applications and applets.

Prerequisites
Attendance at a 5-day Java Programming course or equivalent training/experience.

Course Objectives
On completion of this course, the student should be able to
  • Outline the Swing components
  • Describe the advantages of using Swing
  • Effectively use the Swing tools
  • Understand the Model-View-Controller architecture
  • Use Swing components that rely on this architecture
Length
3 Days

Format
Instructor-led course, with practical computer-based exercises.

Course Outline
  • Introduction to JFC and Swing
    • JFC Overview
      • History of JFC
      • Introduction to Java Accessibility
      • Introduction to Java 2D
      • Introduction to Drag and Drop
    • Swing Overview
      • Lightweight Components
      • JComponent Class
      • Swing Components and Packages
      • Model-View-Controller Architecture and Swing
    • AWT Event Handling and Application Examples
  • Containers and Layout Managers
    • Swing Containers
      • JPanel Container
      • JFrame Container
      • JDialog Container
      • JApplet Container
      • Box Container
    • Layout Managers
      • BorderLayout
      • FlowLayout
      • GridLayout
      • BoxLayout
  • Swing Controls, Tables and Menus
    • Basic Components, Part 1
      • Labels
      • Icons
      • Tool Tips
      • Buttons
      • Text Fields
      • Borders
    • Basic Components, Part 2
      • Text Areas
      • Check Boxes
      • Radio Buttons and ButtonGroups
      • Lists
      • Combo Boxes
    • Bounded Range Components
      • Scroll Bars
      • Sliders
    • Tables
      • Manipulating Table Data
      • Manipulating Table Columns
      • Configuring Table Selection
    • Menu Bars and Toolbars
      • Creating Menu Bars
      • Event Handling
      • Using Mnemonics
      • Creating a Toolbar
  • Swing Dialogs
    • Simple, Standard Dialog Boxes
      • Message Dialog
      • Confirm Dialog
      • Option Dialog
      • Input Dialog
    • Choosers
      • File Chooser
      • Color Chooser
    • Custom Dialogs
  • PLAF and Specialised Containers
    • Pluggable Look and Feel Technology
      • Look and Feel Packages and Classes
      • UIDefaults
      • UIManager
    • Specialised Containers
      • JTabbedPane
      • JScrollPane
  • Java 2D Graphics
    • The Graphics Class and Swing Graphics (Non-Java 2D)
      • Lines and Shapes
      • Using Colors
      • Adding Text
      • Working with Fonts
    • Java 2D Graphics (Graphics 2D)
      • 2D Shapes
      • Decorating Shape Outlines and Lines
      • Decorating Shape Fills
      • Transformations
      • Text and Font Enhancements
    • Imaging
      • AWT and Java 2D Imaging Support
      • BufferedImage Model
      • Filtering Introduction
      • Double Buffering
      • Image Processing

Hardware and Software Requirements
PCs or workstations capable of running the Java Software Development Kit (SDK). The systems should be able to load a 3.5 DOS-formatted solution disk.

Go to course catalogue