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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7
    • 5.0, 7
    • client-libs
    • x86
    • windows, windows_xp

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: