(Nov. 29) A simple Graphical User Interface (GUI) using Java.
- Read the
"Applet Exercise" starting on page 78 (chapter 3) of JBDe2 (or page 91 of JBD),
- look over the non-gui program
InBetween.java
- and the
starter GUI for InBetween in /afs/cats/courses/cmps012a-cm/lab18,
- then answer the pre-lab review questions/quiz.
You can run a complete GUI solution by copying /afs/cats/courses/cmps012a-cm/lab18/inBetween.jar
to your computer/directory and then typing "java -jar inBetween.jar". You CANNOT do this using ssh to
connect to a cats machine. You need to run the program on your computer (either at home or in the lab).
You should be able to in fact just "double click" the inBetween.jar file and have it run.
You can find a specification for the InBetween program at:
http://www.cse.ucsc.edu/classes/cmps012a/Spring04/hw/prog3.html.