JDK-6359035 : Apply WinXP visual styles to AWT native dialogs
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
This CR is a part of larger one: 5049340 (AWT applications should look like native GUI applications). It seems that 5049340 requires much investigation, while applying visual styles to native dialogs only is a relatively simple task.
According to MSDN (see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xptheming.asp) AWT should use a special manifest file to all the AWT applications to look fine on WinXP. This manifest can be either linked into awt.dll or simply put into the same folder where executable file (java.exe) is. As the second way requires some end-user actions, the manifest is to be linked into the library at the build time.
Second, when the manifest is linked, a new version of common controls library (comctl32.dll) is automatically used. That means that AWT should now use another window subclassing schema (see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/userex/subclassingcontrols.asp).