- Which classes can an applet extend?
- How do you cause the applet GUI in the browser to be refreshed when data in it may have changed?
- For what do you use the
start()
method?
- True or false: An applet can make network connections to any host on the Internet.
- How do you get the value of a parameter specified in the
APPLET
tag from within the applet's code?
- True or false: An applet can run multiple threads.
- Match the following tag names with the descriptions in the following lists:
EMBED
tagAPPLET
tagOBJECT
tag
- Use to deploy applets to a multi-browser environment.
- Use to deploy applets that are to be used only with the Mozilla family of browsers
- Use to deploy applets that are to be used only with Internet Explorer
Check your answers.
- For an applet using the
Exercise
class, write theApplet
tag that sets theButtonName
parameter toSave
.
- Write the method to display an applet in the browser, so that the contents are contained in a rectangle around the phrase "Exercise Applet". Have the applet be one pixel less than the size specified on the web page, and the phrase starting at the coordinates 5, 15.