Skip to main content

Java 6 Update 10 - Dreaded Applet Gray Box Is Back!

5 replies [Last post]
psynixis
Offline
Joined: 2005-04-26
Points: 0

So, I've installed the release version of Java 6 Update 10 on Vista. Testing out applets, it seems that the dreaded "gray box" is back with applet start up. I thought this was suppose to have been fixed? So, on applet start-up I see:

- Nasty gray box appears briefly

- If start-up is slow, then the default orange animation comes next

- Finally, the applet shows.

Here's a live example:

http://www.psynixis.com/test/HelloJava6Applet.html

As far as I can recall, in preview versions of Java 6 Update 10, the gray box issues wasn't there.

Does anyone else see the gray box? Am I doing something wrong in terms of applet deployment?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
zeigfried
Offline
Joined: 2008-10-28
Points: 0

Dmitri,

Sorry to contact you in the wrong thread but I couldn't find your e-mail anywhere.
I'm writting an article about java 6 update 10 pipelines performance using J2DBench. I would really appreciate some of your insights about:
* The Benchmark
* Default pipelines [ in my pc - P4 2.6ghz 1gb memory, ATI 9600XT 256m / latests drivers (Catalyst, fglrx) - windows xp beats the hell out of my linux box (ubuntu 8.04)... Is that because of X11? How much hardware acceleration the default pipeline in windows and linux provides?]
* Open Source and Closed source drivers
* Nimbus l&f and usability
* Direct3D pipeline (in full screen and windowed mode)
* OpenGL (In both systems, most of the tests driven results in the 5% difference line, still, Linux didn't beat Windows in any test).

If you could e-mail me at zeigfried@gmail.com I would gladly share my test results and publish an interview with you in [put whatever brazilian magazine that accept the article here] :D.

Cheers,

Anthony Accioly

Message was edited by: zeigfried

trembovetski
Offline
Joined: 2003-12-31
Points: 0

Anthony,

I can't go into much details here because of lack of time, but -
- regarding the benchmark - there's some info about it in Java2D form on javagaming.org
- there isn't much hw acceleration on linux at this point. Hopefully this will change,
thanks to some nice work from the community (http://linuxhippy.blogspot.com/)
- not sure about open source/closed source drivers? what's the question?
- Nimbus - ditto. I wouldn't be the best person to ask about this. Jasper Potts is the implementor, look him up
- D3D pipeline - yeah, we got one =) I'll post a write up on the status once I can find some time
- OpenGL - in most cases d3d and ogl is very close performance-wise, but it really depends onthe drivers. It's hard to beat well tuned for gaming d3d drivers on windows, but stability is actually more important, and d3d drivers tend to be much more stable than ogl

Dmitri

zeigfried
Offline
Joined: 2008-10-28
Points: 0

Hey Dmitri,

Thanks for your answer. I will look in javagaming.org for further reference on J2DBench.

I'm currently running benchmarks for Clemmens Eisserer xrender pipelines thanks to this thread. (It was the announce of his gold price in Sun Tech Days, and, of course, java 6u10, d3d pipelines and java fx that put me in the road for this article at first :D).
I know you are in a rush but I would really like to ask you 3 to 5 more polished questions so I can write an article and append our interview (15 minutes interview effort at the most, I promise). Do you mind giving me your e-mail or should I just post the questions here?

Cheers,

trembovetski
Offline
Joined: 2003-12-31
Points: 0

Yes, unfortunately on Vista the gray rect is turned off. It is due to a bug in Vista's Display Window Manager (Direct3D/GDI/Browser interaction).

Note that if you have Aero enabled, you don't really need the gray rect fix since all windows are double buffered. Embedded windows (like an applet) are an exception though.

Dmitri

clarified a bit
Message was edited by: trembovetski

psynixis
Offline
Joined: 2005-04-26
Points: 0

Many thanks for the answer! That's a shame. Hopefully, Microsoft will fix the bug; or Sun will come up with a workaround at some point.