JDK-4866279 : JInternalFrame XP L&F title bar height not machine OS settings
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.2,5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-05-19
  • Updated: 2003-07-11
  • Resolved: 2003-07-11
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.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
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) 
======================================================================

Comments
EVALUATION The fix for this bug introduced 6395091 [WIn L&F: Buttons in JInternalFrame title bar are wrong shape on Vista]
12-05-2006

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b11
14-06-2004

EVALUATION Need to pick up appropriate desktop property settings. ###@###.### 2003-05-19
19-05-2003