-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2, 5.0
-
b22
-
generic, x86
-
generic, windows_xp
-
Not verified
Name: jk109818 Date: 05/07/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 :
To see the trucated text, you must switch to "Windows Classic Style". The icon
text looks correct when XP is set to "Windows XP Style". To change,
- right click on the desktop, choose properties
- choose the Appearance tab
- switch "Windows and buttons" to "Windows Classic Style"
The spacing problem is present with both XP and Windows Classic styles.
A DESCRIPTION OF THE PROBLEM :
The left icon bar for the XP L&F JFileChooser has spacing issues as compared
to the native XP file dialog. Specifically:
- in the native file dialog there are a few pixels at the top of every
icon which are not present in the JFileChooser. This is most obvious
at the top of the bar, where the "My Recent Documents" icon is flush
against the top of the button bar.
- the native file dialog allows more vertical space to the left and
right of the icons
- the JFileChooser cuts off the dialog text. In a plain JFileChooser from
SwingSet, I see:
[image]
My Recen...
[image]
Desktop
[image]
My Docu...
[image]
My Comp...
[image]
My Netwo...
(note the trucation "..." ) where as, in the native file dialog I see:
[image]
My Recent
Documents
[image]
Desktop
[image]
My Documents
[image]
My Computer
[image]
My Network
Places
Note the usage of multiple lines, and that the full text is visible.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use SwingSet, bring up plain JFileChooser on a Window XP box.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The text shouldn't be trucated and should look like the native dialog.
ACTUAL -
Trucated text in JFileChooser, minor spacing issues.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 185385)
======================================================================
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 :
To see the trucated text, you must switch to "Windows Classic Style". The icon
text looks correct when XP is set to "Windows XP Style". To change,
- right click on the desktop, choose properties
- choose the Appearance tab
- switch "Windows and buttons" to "Windows Classic Style"
The spacing problem is present with both XP and Windows Classic styles.
A DESCRIPTION OF THE PROBLEM :
The left icon bar for the XP L&F JFileChooser has spacing issues as compared
to the native XP file dialog. Specifically:
- in the native file dialog there are a few pixels at the top of every
icon which are not present in the JFileChooser. This is most obvious
at the top of the bar, where the "My Recent Documents" icon is flush
against the top of the button bar.
- the native file dialog allows more vertical space to the left and
right of the icons
- the JFileChooser cuts off the dialog text. In a plain JFileChooser from
SwingSet, I see:
[image]
My Recen...
[image]
Desktop
[image]
My Docu...
[image]
My Comp...
[image]
My Netwo...
(note the trucation "..." ) where as, in the native file dialog I see:
[image]
My Recent
Documents
[image]
Desktop
[image]
My Documents
[image]
My Computer
[image]
My Network
Places
Note the usage of multiple lines, and that the full text is visible.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use SwingSet, bring up plain JFileChooser on a Window XP box.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The text shouldn't be trucated and should look like the native dialog.
ACTUAL -
Trucated text in JFileChooser, minor spacing issues.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 185385)
======================================================================
- duplicates
-
JDK-4825409 XP L&F: JFileChooser navigation button sizing problem
- Closed
-
JDK-5035342 XP L&F: Buttons in directories toolbar has no insets for Windows L&F
- Closed
-
JDK-4949348 WinXP L&P: Places Bar buttons are too close to the top of the button
- Closed
- relates to
-
JDK-6613542 JFileChooser has truncated strings
- Closed