-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6u3
-
x86, sparc
-
solaris_2.5.1, windows_xp
OPERATING SYSTEM(S):
--------------------
ALL Microsoft Windows platforms (XP, windows server 2003)
PROBLEM DESCRIPTION:
--------------------
For JFileChooser in windows look & feel the windows icon and folder names in the left most panel (windows placebar) are getting truncated. This problem happens for all locales including English and more severe when used for European locales like German/French. Also there is no other option like tooltip to read fully if the text is truncated.
STEPS TO REPRODUCE:
-------------------
i) Log-in to a windows machine with German/French Language pack and
above JRE installed.
i) Run JFileChooserTest
Observed result:
The folder name Recent in German (Zulezt verwendete Dokumente) is getting truncated. The word 'Dokumente' is partially visible only. In French the Recent folder (Mes documents recents) is also truncated.
Expected result:
Truncation should be avoided by other proper methods.
TESTCASE DESCRIPTION:
---------------------
import javax.swing.*;
class JFileChooserTest extends JFrame{
JFileChooserTest() {
try {
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
new JFileChooser().showOpenDialog(this);
} catch (Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
new JFileChooserTest();
}
}
--------------------
ALL Microsoft Windows platforms (XP, windows server 2003)
PROBLEM DESCRIPTION:
--------------------
For JFileChooser in windows look & feel the windows icon and folder names in the left most panel (windows placebar) are getting truncated. This problem happens for all locales including English and more severe when used for European locales like German/French. Also there is no other option like tooltip to read fully if the text is truncated.
STEPS TO REPRODUCE:
-------------------
i) Log-in to a windows machine with German/French Language pack and
above JRE installed.
i) Run JFileChooserTest
Observed result:
The folder name Recent in German (Zulezt verwendete Dokumente) is getting truncated. The word 'Dokumente' is partially visible only. In French the Recent folder (Mes documents recents) is also truncated.
Expected result:
Truncation should be avoided by other proper methods.
TESTCASE DESCRIPTION:
---------------------
import javax.swing.*;
class JFileChooserTest extends JFrame{
JFileChooserTest() {
try {
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
new JFileChooser().showOpenDialog(this);
} catch (Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
new JFileChooserTest();
}
}
- duplicates
-
JDK-6244831 JFileChooser does not have tooltip for Desktop, Recent etc ToggleButton on Windows Look and feel
-
- Resolved
-
- relates to
-
JDK-4825409 XP L&F: JFileChooser navigation button sizing problem
-
- Closed
-
-
JDK-4860100 XP L&F: Navigation bar icon spacing issues in JFileChooser
-
- Closed
-