
| Source File | Description |
| FinalPoll2.java | Add some action/behavior to FinalPoll. This time we want to know when a button has been entered. Note: This class extends edu.cod.cis218.chapter12.FinalPoll, so you must have compiled that class prior to compiling/running this one. |
| TicTacToe.java | Another event handling example using JButtons. This time, it's a slightly more complex interaction: tic-tac-toe Note: This class extends edu.cod.cis218.chapter12.TicTacToeFrame, so you must have compiled that class prior to compiling/running this one. |
| ComboSpinner.java | Another event handling example. This time, we listen to a button, but access/manipulate a nearby JComboBox This example also introduces GridBagLayout |
| PersonalsPanelGL.java | No event handling, just a panel sort of similar to CriteriaPanel, laid out using GridLayout. This example is used to accentuate the strengths of GridBagLayout |
| PersonalsPanelGL4.java | A version of PersonalsPanel using a heavily modified GridLayout to emulate a GridBagLayout. |
| PersonalsPanelGBL.java | The same "Personals" panel, but laid out using GridBagLayout. Note that using "GridBag". solves our problem with the comboboxes stretching, but with added complexity |
| DrawingFrame.java | A moderately complicated (and mostly undocumented) example of a JFrame with some interesting behavior (etch-a-sketch) |
| Class Versions | Java source files that we created or modified in class. |