The "URLButton" applet


The URLButton applet demonstrates how to jump to a given URL from a Java applet. Just type a valid URL into the text field, then click the button, and you'll be taken to that URL.

See it in action

Click here to see the URLButton applet in action

Java source code and class files

The source code for the URLButton applet can be downloaded from the link below:

If you'd rather just download the class file, you can download it (using Netscape) by right-clicking on this link, and choosing the "Save Link As..." option: