Update Theme work.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@6111 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-11-15 04:27:43 +00:00
committed by derek
parent 43d2d4e440
commit 2cb95f86a7
12 changed files with 37 additions and 41 deletions

View File

@ -121,8 +121,9 @@ public class TranscriptWindow extends JPanel {
}
});
add(new JScrollPane(browser), BorderLayout.CENTER);
final JScrollPane pane = new JScrollPane(browser);
pane.setBorder(null);
add(pane, BorderLayout.CENTER);
extraPanel.setBackground(Color.white);
extraPanel.setLayout(new VerticalFlowLayout(VerticalFlowLayout.TOP, 0, 0, true, false));
@ -130,6 +131,10 @@ public class TranscriptWindow extends JPanel {
add(extraPanel, BorderLayout.SOUTH);
startCommandListener();
browser.setFocusable(false);
this.setFocusable(false);
setBorder(null);
}
@ -469,9 +474,7 @@ public class TranscriptWindow extends JPanel {
if (scriptList.size() > 0) {
String script = (String)scriptList.get(0);
scriptList.remove(0);
System.out.println(script);
String str = browser.executeScript(script);
// System.out.println(str);
browser.executeScript(script);
}
}
}