JDK-6472369 : Win Vista:With a modal dialog in focus, rollover effect appearing on button of parent frame.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2006-09-19
  • Updated: 2011-01-19
  • Resolved: 2006-09-26
Related Reports
Duplicate :  
Description
With a modal dialog in focus, rollover effect appearing on button of parent frame.
Please see the attached image for the above.
Steps to reproduce:
1)Open JFileChooser Demo, Switch to WindowsL&F, click on the "Show FileChooser" button
2)Move the Filechooser so that the parent frame is also visible.
Observed Behavior:
The rollover effect is appearing on the "Show FileChooser" button. 
(It is like the animation effect on the button when it is focus,after the time gradient to load the animation complete - only that the button and its parent frame does not have the focus.)
Expected Behavior: 
The rollover effect should not be appearing on the "Show FileChooser" button. 
Please see the attached image for the above.
Here is a  native equivalent for this.
1)Right click on desktop, Click on "Personalization" in the menu
2)Click on the "Windows Colors and Appearances" link/option
3)Click on "Effects" button: It opens up a dialog for the same.
Observe here that the Effects button appears as a normal out of focus button and there is not roll over/ animation on this. 

Reproduced on Vista build 5517, mustang build b99.

Comments
EVALUATION Closing this as a duplicat of 6294075. In 6294075, a similar problem occurs under different circumstances. Really, the only solution I can conceive of is to have AWT add a non-blocking version of show();
26-09-2006