JVF22 - Developing Java Based GUI Applications with Swing API

$995.00
$995.00
$995.00
$995.00
Start Date Time Days Price GTR Availability
April 17, 2017 09:00 (EST) 2 $995.00 Register
June 26, 2017 09:00 (EST) 2 $995.00 Register
September 18, 2017 09:00 (EST) 2 $995.00 Register
December 18, 2017 09:00 (EST) 2 $995.00 Register

 

Course length: 2 days

Certification: Non

 

Course Description

This course will you teach you how to develop GUI with SWING API.

Swing API is set of extensible GUI Components to ease developer’s life to create JAVA based Front End/ Graphic User Interface (GUI) Applications.

Swing API is build upon top of AWT API and acts as replacement of AWT API as it has almost every control corresponding to AWT controls. Swing component follows a Model-View-Controller architecture. 

This class is suited for beginners and intermediate Swing developers. 

 

Objective

This class combines lecture with hands-on experience (50/50), and open ended discussion that will help the developer quickly understand Graphic User Interface (GUI) development

 

Prerequisites:  JV002 or similar java experience

 

Module 1: Introduction to GUI Development

Java Foundation Classes

An Overview of AWT

An Overview of Swing

Top-Level Containers

JFrame

JApplet

JPanel

Swing Subsystem

Processing an Event

Content Pane

BorderLayout Manager

Example

FlowLayout Manager

Example

GridLayout Manager

Example

CardLayout Manager

Example

Exercise

 

Module 2: GUI Event Handling

What is an Event?

Delegation Model

Example of Delegation Model

Exercise

Handlers

Swing Components and Possible Events and Listeners

Java GUI Behavior

Event Adapters

JButton

Example

JLabel

Example

JColorChooser

Example

JCheckBox

Example

JRadioButton

Example

JOptionPane

Example

JScrollBar

Example

Exercise

 

Module 3: Tables

Overview

Introduction

Simple Table

Example

Complex Table

Example

Table Model

TableModel Interface

AbstractTableModel Class

AbstractTableModel Example

Example:Editable Table with AbstractTableModel

DefaultTableModel class

Example: DefaultTableModel class

The Table Cell Render

getTableCellRendererComponen() Method

Custom Render

Example

Sorting

Custom Sorting

Exercise

 

Module 4: Threads in Java

Processes vs. Threads

Creating a Thread

Runnable  Interface

Class Thread

Creating a Thread

Starting a Thread

Thread with Anonymous Class

.Thread Scheduling

Managing a Thread

Synchronization

 

Module 5: SwingWorker

Why Do We Need the SwingWorker

MultiThreading

The Event Dispatching Thread Problem

SwingWorker Solution

done() Method Solution

SwingWorker class

Thread in Swing

SwingWorker Solution Example

Second Example

Exercise