シンプルなJFrameウィンドウがあり、そのタイトルは右に浮かんでいます(英語で書かれていますが)。中東に住んでいますが、英語版の Windows 7 を使用しています。タイトル テキストとタイトル バーの左端を正しく揃える正しい方法は何でしょうか?
imports...
public class MainWindow extends JFrame {
    private JPanel contentPane;
    private final String arr[] = {"1","2","3","4","5","6","7","8","9","10"};
    /**
     * Launch the application.
     */
    public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
            public void run() {
                try {
                    MainWindow frame = new MainWindow("The Simulator");
                    frame.setVisible(true);
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        });
    }
    /**
     * Create the frame.
     */
    public MainWindow(String title) {
        super(title);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setBounds(100, 100, 582, 435);
        contentPane = new JPanel();
        contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
        setContentPane(contentPane);
        contentPane.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
        JButton btnRandom = new JButton("Generate new random DCSP");
        contentPane.add(btnRandom);
        JButton btnManual = new JButton("Generate new manual DCSP");
        contentPane.add(btnManual);
    }
}
使用を助けませんでした
frame.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
また
frame.applyComponentOrientation(ComponentOrientation.getOrientation(Locale.US));