[RTD Training & Development] www.java-training-courses.co.uk
Java Training Courses
Professional training courses in Java programming (J2SE; J2EE and J2ME) and other languages in the UK and Ireland
[All Courses] [Courses] [On-Site Courses] [Custom Courses] [Training Facilities] [Contact Us] [About RTD]

RTD Training

 

Java User Interface Programming with Swing

5 days hands-on £1,499+VAT (€2,499+VAT)

No scheduled date

 

Related Courses

Java Programming

Java Programming for C++ Programmers

Java Advanced Programming

Java User Interface Programming with Swing

Java Enterprise Programming

Outline

Swing Component Features

  • Common features
  • Main Swing Packages
  • Similarities & differences to AWT

Containers

  • Intermediate Containers
  • Adding Components
  • Top Level Containers
  • The Root Pane
  • The Content Pane

Layout Managers

  • Component management
  • Review of simple layout managers
  • Card Layout
  • GridBag Layout
  • Box Layout
  • Struts, Glue and Rigid Areas
  • Other Layout Options

Event Handling Review

  • Events
  • Event Categories
  • Listeners Supported by Components
  • Using an Inner Adapter Class
  • Using an Anonymous Inner Class

Simple Swing Components

  • JComponent
  • Common operations
  • JLabel features
  • Buttons
  • Unformatted Text Components
  • Combo Boxes
  • Scrollbars and Sliders
  • Timers and Progress Bars

The Keyboard Interface

  • Key Events
  • Virtual Keys
  • Managing Focus
  • Tab Order
  • KeyStrokes

Menus and Toolbars

  • Building Menus
  • Menu Options
  • Pop-up Menus
  • Toolbars
  • Using Actions

Dialog Boxes

  • Option Dialogs
  • File Dialogs
  • File Filters
  • File Views
  • Choosing Colours
  • Custom Dialogs

Specialised Containers

  • JScrollPane
  • JSplitPane
  • JTabbedPane
  • MDI Applications

More Complex Swing Components

  • JList
  • JTable
  • JTreeView
  • JSpinner

Text Components

  • The Document model
  • Simple Text Components
  • JTextPane
  • JEditorPane

Extra Features

  • Look and Feel
  • The Clipboard
  • Drag and Drop
  • The Undo Package
  • Supporting assistive technologies

Java2D

  • Fonts
  • Geometrical shapes
  • Areas, strokes and paint
  • Coordinate transformations
  • Transparency and composition
  • Image manipulation
  • Efficiency tradeoffs

Printing

  • Creating printer jobs
  • Print-related dialog boxes
  • Printing uniform documents
  • Printing complex documents
  • Implementing print-preview
 

Overview

Java is a very effective environment for professional and enterprise software development. The Java Foundation Classes (JFC) and their Swing components take GUI programming to a new level, allowing developers to create lightweight components with a pluggable look-and-feel. Additional functionality allows developers to build professional, robust applications and applets.

In this course, you gain experience using JFC to develop portable GUI applications. You acquire the skills needed to design GUI architectures that can be reused in multiple projects without modification.

Objectives

On successful completion of this course, participants will be able to:

  • Implement GUI that facilitates a customizable look and feel
  • Develop applications using key foundation services
  • Develop graphic and GUI components using Swing
  • Use the features supported in Java for 2-D graphics
  • Use Java for client-side applets

Audience

This course is for those involved in creating GUI applications, including Java programmers, designers, analysts, engineers and managers. It is also for Java programmers who are already familiar with AWT and want a quick introduction to Swing, and for programmers with some Java programming experience who would like to explore the potential of Java for designing GUI's and other graphical applications.

Prerequisites

Participants are expected to be familiar with the features of the Java 2 Standard Edition (J2SE) covered in the Java Programming course. A knowledge of some topics covered in the Java Advanced Programming course is also beneficial.