How do I change the ComponentOrientation of JOptionPane dialogs created via the static JOptionPane.show<xxx>Dialog or showInternal<xxx>Dialog methods?
NOTE: JOptionPane is not a subclass of JDialog. It uses a createDialog(...) factory method to create the Dialog which is shown. Therefore if you use the constructors instead of static showXXXDialog(...) methods to create and show the JOptionPanes, you could override the createDialog(...) method and apply ComponentOrientation to those. Starting JDK1.2 there is a convinience method
public void applyResourceBundle(ResourceBundle rb) Apply the settings in the given ResourceBundle to this Window. Currently, this applies the ResourceBundle's ComponentOrientation to this Window and all components contained within it.
in java.awt.Window (of which JDialog is a subclass) for applying the ComponentOrientation resourceBundle.