Java Swing

Course Number:J120
Duration:3 days
Standard Price:$6,600 for up to 10 students
Government Price:$5,940 for up to 10 students
Location:on-site

Description

This intensive, hands-on course emphasizes becoming productive quickly as a graphical Java programmer. Students learn how to create real-world GUI applications using Java's Swing classes.

Outline

Introduction to Threads

  • Non-Threaded Applications
  • Threaded Applications
  • Creating Threads
  • Thread States
  • Runnable Threads
  • Coordinating Threads
  • Runnable Interface
  • Threads in Applets
  • Interrupting Threads
  • ThreadGroups
  • Native vs. Green Threads

Inner Classes

  • Inner Classes
  • Member Classes
  • Local Classes
  • Anonymous Classes
  • Instance Initializers
  • Nested Classes

Inheritance vs. Containment

    Getting Started with Swing

    • AWT and Swing
    • Displaying a Window
    • GUI Programming in Java
    • Handling Events
    • Arranging Components
    • Configuring Components
    • Menus
    • JFileChooser
    • Heavyweight vs. Lightweight Components

    Event Handling

    • Event Delegation Model
    • Implementing a Listener
    • Semantic Events
    • List Selection Events
    • Event Objects
    • Low-Level Events
    • Popup Menu
    • Adapters

    Components

    • Controlling Component Appearance
    • Component Hierarchy
    • Fonts
    • Color
    • Text Components
    • Scrolled Components
    • JTable
    • MVC

    Laying Out a Container

    • Containment Hierarchy
    • Using Layout Managers
    • Top-Level Containers
    • General Purpose Containers
    • FlowLayout
    • Box and BoxLayout
    • CardLayout
    • JTabbedPane
    • GridLayout
    • GridBagLayout and GridBagConstraints
    • Non-Managed Containers

    Specialized Components

    • Compound Components
    • Dialogs
    • Extending Dialog
    • JOptionPane
    • Choosers

    Applets

    • Loading Applets
    • <APPLET> Tag
    • GUI Applets
    • HTML Parameters
    • Browser Interaction
    • Applet Methods
    • Applet vs. Application
    • Swing Applets
    • Security

    Input/Output Streams

    • Overview of Streams
    • Bytes vs. Characters
    • PrintWriter Class
    • Reading and Writing Objects
    • Streams Streams Streams

    Managing Security Policies

    • Java Security Model
    • Policy Entries
    • Policy Files
    • Policy Tool
    • Security Managers
    • Default Applet Security

    Who should attend

    Programmers who need to design and develop Java applications and applets for the client-side.

    Prerequisites

    Java Programming for the Enterprise