COMP 310
Fall 2015
|
Lec02: GUI Building
and UML Diagrams
|
 |
GUI Building with WindowBuilder Walkthrough
References:
We are going to step through the first part of
HW01, so follow along with the directions
there.
Development Steps:
- Make a new workspace in Eclipse
- Making a new Java project in Eclipse
- Making a frame with a main() method
- Fixing WindowBuilder's bad auto-generated code!
-
serialVersionUID warning
- Frame layouts: Border layout
- Dropping in
- Panels
- Buttons
- Text fields
- Giving a button click behavior
- Overriding paintComponent()
© 2015 by Stephen Wong