Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-866-716-6688 Other Contact Options
Checkout

Cart () Loading...

    • Quantity:
    • Delivery:
    • Dates:
    • Location:

    $

Developing GUI with Swing API

New – Quickly understand Graphic User Interface (GUI) development and how properly to use SWING and DataBase.

GK# 6964

Course Overview

TOP

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 built 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.

Schedule

TOP
  • Delivery Format:
  • Date:
  • Location:
  • Access Period:

$

What You'll Learn

TOP
  • Containers and Layout Managers
  • Event Handling
  • Swing Components
  • Tables
  • Popup Elements
  • Swing and Database (DB2)
  • Hierarchical Data and JTree
  • Threads
  • SwingWorker Class and Multithreading
  • Swing Applets
  • Bounded-Range Components
  • Integrating Swing with Spring Framework

Outline

TOP
Viewing outline for:

Classroom Live Outline

Module 1: Containers and Layout Managers

  • Java Foundation Classes
  • An Overview of AWT
  • An Overview of Swing
  • Top-Level Containers
  • JFrame
  • Example
  • JApplet
  • Example
  • JPanel
  • Example
  • BorderLayout Manager
  • Example
  • FlowLayout Manager
  • Examole
  • CardLayot Manager
  • Example
  • Exercise

Module 2: 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
  • Inner Classes
  • Member Classes
  • Example
  • Local Classes
  • Anonymous Classes
  • Example
  • Exercise

Module 3: Swing Components

  • JButton
  • Example
  • JLabel
  • Example
  • JColorChooser
  • Example
  • JCheckBox
  • Example
  • JRadioButton
  • Example
  • JOptionPane
  • Example
  • JScrollBar
  • Example
  • JToggleButton
  • JTextField
  • JTextArea
  • JEditorPane
  • Exercise

Module 4: 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
  • Tables and Database
  • Custom Render
  • Example
  • Sorting
  • Custom Sorting
  • Exercise

Module 5: Popup Elements

  • Dialog Box
  • Message Box
  • Example
  • Input Box
  • Example
  • Confirmation Dialog
  • Example
  • JColorChooser
  • Example
  • Popup Menu
  • Example
  • Exercise
  • Menu Bar
  • Example
  • Submenu
  • Example
  • Menu on The Right Side

Module 6: Swing and Database (DB2)

  • JDBC
  • Overview of JDBC
  • Connecting to the DataBase
  • Submitting the SQL Statements
  • Retrieving and Processing Data
  • Data Access Object
  • Examles
  • Modify JTable from User Input
  • Display All Records from Database Table in JTable
  • Exercise

Module 7: Hierarchical Data and JTree

  • Introduction
  • Goal
  • Tree Model
  • Tree Node
  • Example 1
  • Example 2
  • Adding a Scrollpane
  • Example
  • Root Handler
  • Example
  • Adding an Event

Module 8: Threads

  • Processes vs. Threads
  • Threads Scheduling
  • Creating a Thread
  • Starting a Thread
  • Managing a Thread
  • Synchronization
  • Example

Module 9: SwingWorker Class and Multithreading

  • Introduction
  • Concurrency in Swing
  • Initial Threads
  • The Event Dispatch Thread
  • Worker Thread And SwingWorker
  • 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

Module 10: Swing Applets

  • What is an Applet?
  • Applet Security
  • Applet Class Hierarchy
  • The Applet Life Cycle
  • Example
  • Painting
  • Appletviewer
  • Example
  • Exercise

Appendix 1: Bounded-Range Components

Appendix 2: Integrating Swing with Spring Framework

Who Should Attend

TOP

Java Programming Language or equivalent knowledge.

Course Delivery

This course is available in the following formats:

Classroom Live

Receive face-to-face instruction at one of our training center locations.

Duration: 4 day

Virtual Classroom Live

Experience expert-led online training from the convenience of your home, office or anywhere with an internet connection.

Duration: 4 day

Request this course in a different delivery format.
Enroll