I manage an applet based UI. The principal file in the .jar served to the browser is say, abcApplet.java. abcApplet.java is located in a directory named applet.Once i've logged in to the applet, i see the following message in my browser status bar (lower left side)
Applet applet/abcApplet started
I want to get rid of the above status message as it is an eyesore, though technically error free.
It is difficult to rename the file and change the directory. If that were feasible, I could have had the status display
Applet abc started
I'd like to know if i can use JSObjects or something else to change the status message once i've logged in to the applet. I'd even be happy to not have any status displayed, as a workaround.
That's what AppletContext.showStatus does. This is something that can be prohibited by browser settings (over which the applet and web app have no control), so don't rely on people seeing whatever you display in the status bar.
I agree to that. I'm not looking for a fool proof solution here. If i can just change the status from the applet for once, that would do the trick. In the use scenario for my UI, i don't see any user meddling with browser settings. So if i can have the default behaviour to be to my liking, i'm through.
Joined: May 14, 2007
so to add to that, is there a method like AppletContext.setStatus that i can use?
Joined: Mar 22, 2005
The Applet class has a method for obtaining the AppletContext object; it's probably called getAppletContext.