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.