Session 9 Lecture Notes for First Course in Java  

course homepage      course calendar


More on applets (review of last 2 sessions).

Question and Answers in preparation for the Final Exam. (sample questions)

Some more Layouts

              http://java.sun.com/j2se/1.3/docs/api/java/awt/FlowLayout.html

             http://java.sun.com/j2se/1.3/docs/api/java/awt/GridLayout.html

New in swing. 

Combines aspects of vertical and horizontal FlowLayout.

Introduction to SWING.

What is swing?

Swing is a new UI framework. Introduced as part as Java 2.

Swing is a lightweight user interface framework. 

Swing supports more than one kind of "look and feel".

What distingishes SWING from AWT? Swing has:

Most of the AWT components have a swing counterpart.
The swing equivalent usually has a name that begins with "J". For example,

More advanced swing components.

Demos: 

________________________
course homepage      course calendar