| Sixth Assignment |
|
Task: Using Visual Cafe WYSIWYG tools and custom code, create an applet that repeatedly displays random text strings. Advice: Begin by using the WYSIWYG tools in Cafe to set up whatever text element you choose to work with. Be sure it is an element whose text property may be reassigned. (It may take some trial and error to find which ones work and which don't.) To begin with, save a version of your project with just the WYSIWYG element present. Examine the threaded applet example. Figure out how to add custom code to your WYSIWYG version to include the following features: a source text array, random number generator, and infinite loop. Follow the syntax and order of elements in the example. Delivery: Name your project Yourlastname. Submit a floppy disk (Mac or Windows) containing the following: Yourlastname.vpj (the project file), Yourlastname.java (the source code automatically generated by Visual Cafe), Yourlastname.class (the compiled bytecode generated by Cafe when you run or execute your applet), and any files Cafe adds to the classes directory on compilation. Deadline: This project is due April 14 at 8:00 p.m. The usual policy on extensions applies. |