JVFC - Java Foundation Classes (Swing)
| Categories |
Java Training, Programming Training, Internet Training |
| Duration |
5 days (35 hours) |
| Pre-requisites |
JVJB1
JV1 - Java Programming and JV2 - Advanced Java Programming, or equivalent Java development experience are required. A firm understanding of OO concepts is strongly recommended. Knowledge of AWT is strongly recommended.
|
|
|
|
| Courseware |
JVFC-OBJ-01 (462 pages) |
| Price |
$1975 |
| Notes |
Learn to build simple GUI applications using JFC! Architectural patterns are emphasized, especially JFC’s strict use of the Model-View-Controller paradigm. Understanding the thorough use of this pattern in JFC is critical to using the framework effectively.
|
This Java Foundation Classes (Swing) course introduces the Java programmer to the Java Foundation Classes, a.k.a. Swing, the Java environment’s comprehensive framework for GUI development. The student will study the fundamentals of the JFC architecture and quickly move to building simple JFC frame-based applications. By the end of the course the student will be comfortable building simple or complex interfaces with the most common Swing controls and classes, including buttons, lists, combo boxes, checkboxes and radio buttons, text controls, trees, and tables, controlling multiple windows and dialogs, using panes to manage related interfaces, implementing popup menus, and using data transfer packages for clipboard and drag-and-drop implementations.
Module 1: Introduction to JFC
Introduction to JFC
Abstract Windowing Toolkit Basics
Simple Layout Management
Simple Event Handling
Lightweight Controls
JFC Feature Set
JFC Architecture and Relationship to AWT
JFC Application Design
Role of a JFrame
Building a Frame-Based JFC Application
Panes
Using Dialogs
JFC Components
JFC Component Class Hierarchy
JComponent Features
Simple Control Types
Text Components
Menus
Managing Look and Feel
Architectural Patterns
Observer Pattern
Model-View-Controller Decomposition
Strategy Pattern
JList
Factory Pattern
JComboBox
Module 2: JFC Trees and Tables
Hierarchical Data and JTree
Presenting Hierarchies
JTree and Supporting Classes
Using the Default Tree Model
Customizing Look and Feel
Implementing a Tree Model
Custom Rendering
Custom Editing
Tabular Data and JTable
Presenting Tabular Data
JTable and Supporting Classes
Implementing a Tree Model
Customizing Look and Feel
Custom Rendering
Custom Editing
Managing the Model
Adapting Existing Data Structures
Very Large Data Sets and GUIs
Caching
Lazy Evaluation Using Tree and Table Models
Limiting the Cache with an Evictor
Anticipating User Requests
Module 3: Advanced GUI Design with JFC
Organizing Application Windows
Viewport Abstraction
JScrollPane
Scrollable Elements
Customizing Scrolling
Tabbed Panes
Splitter Panes
Popup GUI Elements
Dialog Boxes
Message Boxes
Using File Choosers
Customizing File Choosers
Using Color Choosers
Custom Dialogs
Tooltips
Popup Menus
Data Transfer
The Data Transfer Model
Transferable Objects
Data Flavors and MIME Types
The Clipboard API
The Drag-and-Drop API
Appendix A. References
Appendix B. Swing Events – Quick Reference