• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

setting status in browser's status bar

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Applet class has a method for obtaining the AppletContext object; it's probably called getAppletContext.
 
reply
    Bookmark Topic Watch Topic
  • New Topic