Welcome to Outsource Laboratories
Home
News
Courseware
Training
Publishing
Customer
Service
About
Us
Contact
OLabs
Site Map

Quick Links:

Book Catalog
Java Coursemap
Courseware List
Course Curriculum
Request Info/Copy
Provide Feedback
Place an order
 

 

Welcome Pages for:  Educators  |  Students   |  Corporate Training   |  Instructors   |  Authors   |  Resellers  

OL319: Java Foundation Classes (Swing)


Description:
 
Java Foundation Classes explores the latest features of Java for simplified GUI development and deployment of commercial-quality desktop and Internet applications. View a GUI project from the "top-down", exploring the actual project development by breaking the completed project into easy to understand steps and techniques.
The following module is appropriate for students who have completed ol310 or equivalent.
This hands-on course is composed of comprehensive lectures, practical project illustrations and independent programming sessions. Multi-tiered, hands-on exercises are incorporated into each lesson. All student materials appropriate equipment are provided.
Objectives:
 
At the end of the course, particpants will be able to:
  1. Implement GUI that facilitates a customizable look and feel.
  2. Develop applications using key foundation services.
  3. Develop applications that meet federal regulations.
 
Audience:
 
Programmers interested in the development or maintainence of GUIs using Java's latest packages. This course is also for Java programmers already familiar with AWT who want a quick introduction to Swing.
Prerequisites:
 
Some programming experience in Java and basic familiarity with GUI development.
Duration:  2 days
 
Course Contents:
 

Unit 1: What is JFC?

  • Learn the features that the Java Foundation Classes offer.
  • Understand the different features of the JFC and what they are used for.
  •  
Unit 2: Basics of Swing Programming
  • Identify Swing components in Swing applications.
  • Add a button to a simple Swing application.
  • Describe the role of threads in a Swing application.
  • Describe how the MVC architecture affects the operation of components.
  •  
Unit 3: Basic Swing Components
  • Understand that a Swing application must contain a top-level container.
  • Use Swings 3 top-level containers: JFrame, JDialog, and JApplet.
  • Add components to a JDialog.
  • Add a JMenuBar component to a JFrame.
  •  
Unit 4: Layers, Panes and Panels
  • Add a component to the Content Pane.
  • Explain the system of Panes in Swing's top level containers.
  • Use the JScrollPane and JSplitPane to seperate two components in a JFrame.
  • Create a JTabbedPane with several tabs.
  • Explain how a GlassPane can be used to implement your own drag-and-drop.
  •  
Unit 5: Layout Managers
  • Use different Layout Managers to accommodate different styles of component layout.
  • Compare the FlowLayout, BorderLayout, GridLayout, GridBagLayout and BoxLayout layout managers.
  • Nest several simple layout managers to create a given complex layout.
  •  
Unit 6: New Swing Components
  • Add a border to a component using BorderFactory.
  • Use the Swing Components JSlider, JComboBox, JProgressBar and JInternalFrame.
  • Use features of the JComponent class such as ToolTips, DebugGraphics and Autoscrolling.
  •  
Unit 7: Icons and Images
  • Create an Image from within an applet.
  • Create an Image from an application.
  • Use MediaTracker to wait for a set of images to finish loading.
  • List three ways to "speed up" applications that load images.
  • Create an Image from your own data using MemoryImageSource.
  • Grab pixels from an Image using PixelGrabber.
  •  
Unit 8: JTree
  • Learn to write code that displays a simple JTree.
  • Add a listener to a JTree that is notifed each time any data in the tree changes.
  • Write your own "TreeCellRenderer" which displays your own icon.
  • Write your own "TreeCellEditor" which lets the user type text into a tree node.
  •  


Home   Courseware   Training   Publishing   Site Map  
Book Catalog   Java Coursemap   Courseware List   Course Curriculum
Welcome Pages for: Educators   Students   Corporate Training   Instructors   Authors   Resellers  
Request Information   Place An Order   Customer Service   Provide Feedback   Contact Us

Outsource Laboratories and Olabs are registered trademarks of Outsource Laboratories.
Java and all Java-based trademarks are registered trademarks of Sun Microsystems.

© 1996-2003 Outsource Laboratories