Send to a Friend
 
Content to send

GUI applets with AWT and Swing

Course Number: 544-JK
Recommended Duration: 3 days

Intended Audience: Experienced Java programmers needing to create Applets or Applications using a Graphic User Interface (GUI).

Course Overview

Java programmers learn to use AWT and Swing to create Graphical User Interfaces for stand-alone applications or applets. There are eight machine exercises. Exercises use Sun J2SE JDK. IDEs such as Eclipse, WSAD, JDeveloper, JBuilder, etc... may be used upon request.

Course appropriate for Java 2.0 (Java 1.3). Course covers Java 2 (aka. Java 1.2-1.4), however, most topics and examples also apply to Java 1.1 through Java 5 (Java 1.5).

Objectives

Participants will learn to create, test, and deploy Graphical User Interface (GUI) Java applets. Hands-on exercises reinforce new concepts.

Prerequisites

Students must have Java experience or have completed "Java Client-Side Programming I", "Java Server-Side Programming I" or equivalent.

Topics

  • Windowed environments and Event-driven interfaces
  • Swing application vs. Swing applet
  • Introduction to AWT (Abstract Windowing Toolkit): Graphics, Fonts, Canvas components, Drawing images, Simple animation
  • Classes: Frame, Canvas, Panel
  • Introduction to Swing and JFC (Java Foundation Classes): Class architecture, Swing package components, Heavy and lightweight components, Drag and drop, Java 2D graphics, Look and feel issues
  • Containers: Frame, Panel, Dialog
  • Layout managers: FlowLayout, BorderLayout, CardLayout, GridLayout, GridBagLayout
  • GUI components: Button, Canvas,label, Checkbox, Choice, List, Combo box, Scrollbar, TextArea, ScrollPane, Menu Bar
  • Tables, Trees, Text areas
  • Events: Input events, Mouse, Container, Window, Action, Item, Text, Adjustment
  • Delegation model
  • Animation and sprites
  • Introduction to threads
  • Multimedia support: audio clips

Share with others

Please provide the following information
Your Name
Your Email Address
Recipient Emails
Message

Can't Read? Click to Generate New Code
Enter the verification code shown above into the text box below