It's not a secret anymore!*
The moose likes Applets and the fly likes messages on browser status bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "messages on browser status bar" Watch "messages on browser status bar" New topic
Author

messages on browser status bar

thushar kumar
Greenhorn

Joined: May 14, 2007
Posts: 9
Hi, I manage a GUI wherein, the browser downloads a jar file from the device and loads the applet. During the process, starting with index.html and through the redirections, the status bar on the browser is populated with messages using the javascript functionality "window.status".

The problem is that the final message that i see in the status bar is not from a "window.status" line in the code. It seems like beyond a certain point in the execution, the browser takes over and determines what to put in the status bar based on the jar file/something else? that its handling.

Is this true?

My requirement is to customize the final status message. So i need to figure out what exactly is happening.

What is not helping is also the fact that the loading process is so fast that i cannot see any of the intermediary messages. Is there any way to slow down the applet loading process, other than to try over a very slow connection?

thanks in advance,
Thushar
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
The browser uses the status bar for its own purposes. While the applet can use it, too, I wouldn't expect those messages to be visible for very long, as they may be replaced by the browser at any time.

But more importantly, the status bar is not very prominent to the user. If the applet needs to provide feedback, it should do that in the applet GUI (where there's no interference by the browser).


Ping & DNS - my free Android networking tools app
thushar kumar
Greenhorn

Joined: May 14, 2007
Posts: 9
I agree to your point, but the issue here is very specific.

The browser is ofcos getting the final say in what gets displayed in the status bar. The problem is that what it is displaying is something that I don't want to be there. So i need to wrest control from the browser and display my custom string as the final one in the status bar.

does anyone know how that can be done?

thanks,
Thushar
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
The applet can put something there from within its init method. At that point, the browser should be done displaying messages about the applet load process.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: messages on browser status bar
 
Similar Threads
setting status in browser's status bar
not Showing APPLET
Any way to READ the IE status bar?
"Sending Applet through Servlet"
status bar message