-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b08
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b84)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
JFilechooser popup (i.e. when right click the mouse on the JFilechooser panel) is still left-to-right when JFilechooser is set to right-to-left.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1- run the code below
2- when the filechooser show, right click the mouse
3- you will see that the popup is still left-to-right although JFilechooser is set to right-to-left ComponentOrientation
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
right to left JFilechooser popup
ACTUAL -
left to right JFilechooser popup
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
import java.awt.*;
class bug
{
public static void main(String args[])
{
JFileChooser fc = new JFileChooser();
fc.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
fc.showOpenDialog(null);
}
}
---------- END SOURCE ----------
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b84)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
JFilechooser popup (i.e. when right click the mouse on the JFilechooser panel) is still left-to-right when JFilechooser is set to right-to-left.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1- run the code below
2- when the filechooser show, right click the mouse
3- you will see that the popup is still left-to-right although JFilechooser is set to right-to-left ComponentOrientation
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
right to left JFilechooser popup
ACTUAL -
left to right JFilechooser popup
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
import java.awt.*;
class bug
{
public static void main(String args[])
{
JFileChooser fc = new JFileChooser();
fc.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
fc.showOpenDialog(null);
}
}
---------- END SOURCE ----------