CS3 - AWT/Swing 1
AWT / Swing
Introduction
CS3 - AWT/Swing 2
Project
- Just when you thought it was safe!
– Project 2 will be released tomorrow. – Will go over it on Thursday – Chat Room
- Threads
- GUIs
- Networking
CS3 - AWT/Swing 3
Before we begin
- Any questions with threads?
CS3 - AWT/Swing 4
Plan for today
- Current Plan:
– Today: Intro to Swing / Basic components – Thursday: Project 2 – Monday: Event Based Programming – Tuesday: Swing Event Model / Listeners – Thursday: GUI Design Principles
AWT / Swing slides courtesy Paul Tyman
CS3 - AWT/Swing 5
Caveat
- Next set of lecture will present how to
create GUIs in Java
– NOT how to create GOOD GUIs in Java.
- GUI design falls in the discipline of Human
Computer Interaction (HCI)
- Will give GUI Design Tips end of next
week.
CS3 - AWT/Swing 6
The Abstract Windowing Toolkit
- Since Java was first released, its user interface
facilities have been a significant weakness
– The Abstract Windowing Toolkit (AWT) was part of the JDK form the beginning, but it really was not sufficient to support a complex user interface
- JDK 1.1 fixed a number of problems, and most