United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6359035 Apply WinXP visual styles to AWT native dialogs
JDK-6359035 : Apply WinXP visual styles to AWT native dialogs

Details
Type:
Enhancement
Submit Date:
2005-12-05
Status:
Closed
Updated Date:
2011-03-07
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
client-libs
OS:
windows_xp,windows
Sub-Component:
java.awt
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0,6,7
Fixed Versions:

Related Reports
Backport:
Duplicate:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

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).
                                     
2005-12-05



Hardware and Software, Engineered to Work Together