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

JInternalFrame XP L&F title bar height not machine OS settings

    • tiger
    • x86
    • windows_xp

      Name: gm110360 Date: 05/19/2003


      FULL PRODUCT VERSION :
      java version "1.4.2-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      XP Luna with customized settings.
      Display Properties -> Appearance tab -> Advanced button -> Active Title Bar
      Size = 18, Font pt size = 8

      A DESCRIPTION OF THE PROBLEM :
      I set my windows title bars to a smaller height from the huge XP default.
      The Swing XP L&F's JInternalFrame height does not match the OS settings height.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Control Panel -> Display Properties -> Appearance tab -> Advanced button -> Active Title Bar
      Size = 18, Font pt size = 8

      Run SwingSet2, set XP L&F and play with the internal frame demo.

      The font size and color of the title bar seem correct, just the height is wrong.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The height of JInternalFrame title bars should match the OS settings.
      ACTUAL -
      The height of the JInternalFrame title bars are at the default settings that Window XP is installed with.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      None known
      (Review ID: 185986)
      ======================================================================

            leifs Leif Samuelsson (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: