September 20, 1997

Where Am I?

When your applet is executing in a browser environment, it might be handy to know what the current URL in the browser is. Although Java is not really great at communicating with its host environment, this one is pretty easy to implement: public class WhereAmI { public static void main(String

Talking To Your Applets

To allow your applets to operate in different environments, it’s quite handy to be able to pass certain parameters to them at runtime. When embedding an applet in a HTML page, you can use the PARAM tag (as part of an APPLET) for this purpose. For example: (Insert message for

What’s That Name Again?

Net-related technology is already moving at a frightening pace, but vendors are actively making things more confusing by continuously coming up with new names for slight variations on existing technology. A good example is the naming of browser-related scripting and programming languages: Java is the original object-oriented programming language created

It’s All a Matter of Trust

If you’re building applets using Microsoft’s Visual J++, you might encounter problems the first time you try to run your applet outside of the development environment. Typical examples of this are: Your applet can’t access local files (such as pictures required for animations) anymore; Error messages about missing classes; The