Introduction to Creating GUIs in Java 2
Overview/Description
To explain how to create Java GUIs using the AWT
Target Audience
Programmers wishing to learn the fundamentals of the Java language; more experienced Java programmers studying for the Sun Certified Programmer for the Java 2 Platform exam
Prerequisites
Some knowledge of programming principles; experience in another programming language (e.g. Visual Basic, C, C++) would be useful
Expected Duration
210 Minutes
Objectives:
Introduction to Creating GUIs in Java 2
describe Java's Abstract Windows Toolkit (AWT) and its classes.
explain how to use the AWT to create a simple GUI that includes components and containers.
add a menu to a GUI and work with fonts.
create a simple application GUI using the AWT.
describe Java's event-delegation model.
describe the Java event class hierarchy and use event methods to get information from event objects.
write code that uses explicit event enabling.
write code that uses Java's event model.
describe how to use Java's layout managers to specify how their GUI elements are displayed.
use layout managers when creating a GUI.
explain how to write a paint method that specifies the appearance of a GUI component.
explain what is meant by a clip region, describe when the paint method is automatically called, and outline the roles of the update and repaint methods.
write a simple application that uses Java's painting mechanism to specify a component's appearance.
describe how to work with images in Java.
Course Number: 31663_eng