thushar kumar

Greenhorn
+ Follow
since May 14, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by thushar kumar

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
15 years ago
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
15 years ago
so to add to that, is there a method like AppletContext.setStatus that i can use?
15 years ago
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
15 years ago
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
15 years ago
hi darrin,

your code worked exquisitely...But i discovered a new problem. Let me explain. Consider a Jpanel to represent the duration of 1 hr. The percentage based design was to shade the Jpanel based on how much of the 1 hr is to be represented. The hitch now is that, it may be required to display several ranges within an hour itself. For example 10:10-10:15, 10:20-10:30, 10:45-10:50. Is there any way to implement this. If nothing works out, i am planning to have a combined shade for all these ranges and provide a mouse tool tip to display the details.

do help

thanks,
thushar
16 years ago
thanks Darrin...this looks really helpful
16 years ago
Hi,

my requirement is as follows,

I would like to associate a JPanel with a value. This is in a visual way. For that the idea i had in mind is to have half of the JPanel set with a colour if the value is 50%, 1/4th set if value is 25% and so on. These are small JPanels grouped together to form a grid. So the idea is that the user can guess the value of a grid by looking at the percentage area of the panel thats been coloured. Is there such an instance of JPanel/or similar in Swings?

thanks in advance,
Thushar
16 years ago
Hi,

I require the use of a slider in my GUI to graphically increase and decrease a number. Does swings have an API for this?

thanks in advance,
thushar
16 years ago