Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6178745

Include javaw.exe.manifest to enable native controls with XP visual styles

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 5.0, 7
    • Fix Version/s: 7
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows, windows_xp

      Description

      A DESCRIPTION OF THE REQUEST :
      Please include an appropriate javaw.exe.manifest file in every (Windows) JDK
      or JRE directory which contains javaw.exe.

      This is needed in order to enable Java applications using native Windows
      controls via JNI (e.g. SWT, Eclipse) to have their widgets styled with the
      correct XP look.

      For details, see:
      http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/userex/cookbook.asp

        See also:
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=45918


      JUSTIFICATION :
      Without these manifest files being part of a standard JDK/JRE install, app
      developers have to either write special code to find all affected */bin directories
      and create/copy the files there themselves or instruct their users how to do so.

      Both workarounds are cumbersome and employing them may not always be
      possible.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The VM (javaw.exe) should indicate to the OS that ComCtl32.dll version 6 should be used if it is available. Native widgets should be styled correctly.

      ACTUAL -
      Native widgets do not pick up the Windows XP visual styles correctly.
      ###@###.### 10/13/04 21:23 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dcherepanov Dmitry Cherepanov
              Reporter:
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: