This a modifies example is from "Teach yourself Java..."
by Laura Lemay et.al. It is an applet that accepts a URL as
a parameter in the HTML containing this applet and then simply reads in
the data stored in the URL and prints it out in a text area.
About this example: 1) The applet only one component a text area where the information in the file located at the URL will be printed in it. 2) You must import java.net and java.io packages!
Also, remember that you must around any
3)SEE OUR IN-CLASS DISCUSSION.
NOTE: Need Internet Connection and need to have paramater ULR you are accessing be located on the same server where the Applet is located or you will have a SECURITY VIOLATION!!!!!!!
APPLET:
|
© Lynne Grewe |