Skip to main content

Closing frames/windows on Vista with aero shows badly

5 replies [Last post]
jrs937
Offline
Joined: 2005-10-10

I have tested this with 6u10 b25 and then downloaded b28 and retested it and the issue is still there. In vista (with aero enabled) when you close a window you get a transition effect where the window seems to be falling back while fading out. With jre 6u10 as soon as you close a window the internal content of the window just disappears while the frame border is still visible, also the transition ends up looking bad because you just see the border of the frame doing the fading transition while the internal content is just transparent.

This really looks ugly and makes any app which uses JFrame/JDialog a lot look bad on Vista. Is the AWT team or Swing team aware of this issue?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jrs937
Offline
Joined: 2005-10-10

Is there any workaround to this problem because I noticed that Netbeans 6.5 doesn't exhibit this issue so they must have found a way around it. Every other Java app that I have tested is affected by this though so I'm surprised I haven't seen this raised anywhere else.

anthony_p
Offline
Joined: 2006-07-24

Could you provide a snippet of code that does reproduce the issue when run on Vista-Aero and give the exact instructions to reproduce it? I don't seem to be able to reproduce the artifacts when running SwingSet with the latest 6u10 build.

jrs937
Offline
Joined: 2005-10-10

When running SwingSet on 6u10 b28, go to File->About, once the window is up, click the ok button. Now pay close attention to how the window fades out, you will notice that the internal content of the window (excluding the windows border) does not do a fading transition but rather just becomes invisible (it becomes transparent immediately).

Now try the same with java 6u7 (or any prior release) and you will notice how the internal content of the window goes through a fading transition as it should.

I have a Mac Pro machine with NVidia 8800GT running Vista x64, also tested it with another machine which has ATI 2600XT video card. The issue is apparent on both and once I run the regular JRE 6 that shows up correctly.

anthony_p
Offline
Joined: 2006-07-24

Yeah, now I see the artifact. I've submitted the following CR to track the issue:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6730479

(should appear on bugs.sun.com in a day or two). Thanks for reporting!

jrs937
Offline
Joined: 2005-10-10

Great, Thanks.

Joe