Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting status in browser's status bar

 
thushar kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Hoping to hear from the gang on this.

thanks,
Thushar
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
thushar kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

thanks,
Thushar
 
thushar kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so to add to that, is there a method like AppletContext.setStatus that i can use?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Applet class has a method for obtaining the AppletContext object; it's probably called getAppletContext.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic