Training » All Courses » Java » Java™ Swing

Course Summary

Java Swing training course is an intensive, hands-on course that focuses on having you become proficient with Java Swing technology. You will learn how to create real-world GUI applications using Java Swing.

Duration

3 days.

Audience

Programmers who need to design and develop Java applications and applets for the client-side.
Java Fundamentals for Non-C Programmers or Java Programming for the Enterprise.

Outline

Collections

  • Java Arrays
  • The Collections Framework
  • Set Implementation Classes
  • List Implementation Classes
  • Map Implementation Classes
  • Applying Algorithms
  • Implementation and Performance Strategies

Introduction to Threads

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

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
  • A Scrollable Component
  • Configuring Components
  • Menus
  • Using the JfileChooser
  • Heavyweight vs. Lightweight Components

Event Handling

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

Components

  • Controlling Component Appearance
  • The Component Hierarchy
  • Fonts
  • Font Manipulation
  • Color
  • Getting Fancy
  • Text Components
  • Scrolled Components
  • JTable and 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

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

Applets

  • Loading Applets
  • The <APPLET> Tag
  • GUI Applets
  • Graphical Applets
  • HTML Parameters
  • Retrieving Images
  • Browser Interaction
  • Applet Methods
  • Applet vs. Application
  • Swing Applets
  • Plug-Ins
  • HTML Tags for Swing Applets
  • Security

Input/Output Streams

  • Overview of Streams
  • Bytes vs. Characters
  • Converting Byte Streams to Character Streams
  • Binary Input and Output
  • PrintWriter Class
  • Reading and Writing Objects
  • Streams Streams Streams
  • Buffers, Channels and Charsets

Managing Security Policies

  • The Java Security Model
  • Policy Entries
  • Policy Files
  • Using the Policy Tool
  • Security Managers
  • Default Applet Security