banner

GUI Design

Disclaimer: Before you even begin this section, I need to make something clear, because over the semesters I get the same question otherwise.

I need to teach you some UI basics. Based on the pre-reqs for the course, and trying to keep things as consistent as possible, I choose to very briefly cover Swing. Yes, I am fully aware that Swing is pretty much deprecated, but IMHO, JavaFX isn't much better (and in Java 9, it is losing support as well).

It turns out, for you to learn things like event handling, layouts, input validation, etc... that Swing works just fine, and in fact it fits in quite nicely with the final module on GWT. I feel to use anything else would honestly overload the student. So, with that being said, you need to read the sections in BOLD below, and the italicized ones are there for historical sake. (Yes, I admit, I used to teach a course on Swing).

Learning Objectives

Week 5 Intro Video

Part 1: Graphics

Part 2: Graphics2D

Part 3: Event Handling

Part 4: Swing

Part 5: Windows

Part 6: Internal Frames

Part 7: Panels and Borders

Part 8: File and Color Chooser

Part 9: Layouts

Part 10: Look and Feel

Part 11: Labels

Part 12: Buttons

Part 13: Tabbed, Scroll and Split Panes

Part 14: Text Components

Part 15: Lists

Part 16: Trees

Part 17: Tables

Part 18: DesktopIntegration

Part 19: Java Web Start

Homework