-1
私は、次のように左から右へJTabbedPaneのアライメントを変更する方法についての検索で時間を過ごす:この方法で setComponentOrientationを 見て右から左にタブを作るために変更JTabbedPaneのアライメント
私は、次のように左から右へJTabbedPaneのアライメントを変更する方法についての検索で時間を過ごす:この方法で setComponentOrientationを 見て右から左にタブを作るために変更JTabbedPaneのアライメント
を(ComponentOrientation.RIGHT_TO_LEFT);
JFrame frame = new JFrame("Frame Test");
frame.setMinimumSize(new Dimension(500, 500));
JTabbedPane tapPane = new JTabbedPane();
tapPane.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
tapPane.insertTab("Tab1", null, new JTextField("test"), "Tab1 tip", 0);
frame.add(tapPane);
frame.show();