diff --git a/importPicture/src/osm/jp/gpx/matchtime/gui/DoDialog.java b/importPicture/src/osm/jp/gpx/matchtime/gui/DoDialog.java index 77785ec..e82f3fa 100644 --- a/importPicture/src/osm/jp/gpx/matchtime/gui/DoDialog.java +++ b/importPicture/src/osm/jp/gpx/matchtime/gui/DoDialog.java @@ -19,7 +19,7 @@ JPanel buttonPanel; // ボタン配置パネル (下部) JButton closeButton; // [クローズ]ボタン JButton doButton; // [実行]ボタン - TextArea textArea; // 実行結果を表示するJTextArea (中央) + JTextArea textArea; // 実行結果を表示するJTextArea (中央) //}} class SymAction implements java.awt.event.ActionListener { @@ -62,8 +62,10 @@ this.getContentPane().add("South", buttonPanel); // 説明文 - textArea = new TextArea(); - textArea.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 10)); + textArea = new JTextArea(); + JScrollPane sc=new JScrollPane(textArea); + textArea.setFont(new Font(Font.MONOSPACED,Font.PLAIN,12)); + textArea.setTabSize(4); try { textArea.append("> java -cp importPicture.jar osm.jp.gpx.ImportPicture"); for (int i = 0; i < args.length; i++) { @@ -74,7 +76,7 @@ catch (Exception e) { System.out.println(e.toString()); } - this.getContentPane().add("Center", textArea); + this.getContentPane().add("Center", sc); //{{REGISTER_LISTENERS SymAction lSymAction = new SymAction();