CSC 112
Ileana Streinu

Super Basic GUI

Click on the buttons to alternate colors, and write in the textbox the name of the desired shape.


Notice that now the shape changes as soon as you finished writing in the text field. The applet implements a TextObserver to do this. Go over the code and take note of the additions, in myApplet.java, from BestBasic to SuperBasic.