Activities
If you would like to apply your acumen of applets and applications, the following activities are suggested:
Check out EarthWeb's Java Applet Ratings Service website at http://www.jars.com and use the search term headline to see links and descriptions to all of the applets that have been written to display news headlines. Each of these applets uses parameters to modify the text that is displayed. Write a Java applet that can handle a parameter named X and a parameter named Y. Display the two parameters in a drawString() statement like the one in the BlanksApplet program.
To see a Java program that implements the second activity, visit the book's website at http://www.java24hours.com.
|