mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user