dcsimg

How do I display a message in the browser's status bar?

John Zukowski

To show a message in the status bar, you would call the showStatus() method of the AppletContext:

getAppletContext().showStatus(message);

Keep in mind that the browser can overwrite the message at any time or the browser might not have a visible status bar. This basically means you should not use the status bar for messages that might be missed.