101 |
|
|
102 |
private final SidePane sidePane = new SidePane(); |
private final SidePane sidePane = new SidePane(); |
103 |
|
|
104 |
private LSConsoleFrame lsConsoleFrame = null; |
private final LSConsoleFrame lsConsoleFrame = new LSConsoleFrame(); |
105 |
private final Vector<String> recentScripts = new Vector<String>(); |
private final Vector<String> recentScripts = new Vector<String>(); |
106 |
|
|
107 |
|
|
118 |
|
|
119 |
addChannelsPane(mainPane.getChannelsPane()); |
addChannelsPane(mainPane.getChannelsPane()); |
120 |
|
|
121 |
JScrollPane sp = new JScrollPane(createRightPane()); |
JPanel rp = createRightPane(); |
|
sp.setBorder(BorderFactory.createEmptyBorder()); |
|
122 |
|
|
123 |
hSplitPane = new JSplitPane ( |
hSplitPane = new JSplitPane ( |
124 |
JSplitPane.HORIZONTAL_SPLIT, |
JSplitPane.HORIZONTAL_SPLIT, |
125 |
true, // continuousLayout |
true, // continuousLayout |
126 |
sidePane, sp |
sidePane, rp |
127 |
); |
); |
128 |
|
|
129 |
getContentPane().add(hSplitPane); |
getContentPane().add(hSplitPane); |
144 |
|
|
145 |
c.fill = GridBagConstraints.BOTH; |
c.fill = GridBagConstraints.BOTH; |
146 |
|
|
147 |
|
JScrollPane sp = new JScrollPane(devicesPane); |
148 |
|
sp.setBorder(BorderFactory.createEmptyBorder()); |
149 |
|
|
150 |
c.gridx = 1; |
c.gridx = 1; |
151 |
c.gridy = 0; |
c.gridy = 0; |
152 |
c.weightx = 1.0; |
c.weightx = 1.0; |
153 |
c.weighty = 1.0; |
c.weighty = 1.0; |
154 |
c.insets = new Insets(0, 3, 3, 0); |
c.insets = new Insets(0, 3, 3, 0); |
155 |
gridbag.setConstraints(devicesPane, c); |
gridbag.setConstraints(sp, c); |
156 |
p.add(devicesPane); |
p.add(sp); |
157 |
|
|
158 |
c.gridx = 0; |
c.gridx = 0; |
159 |
c.gridy = 0; |
c.gridy = 0; |
390 |
} |
} |
391 |
|
|
392 |
protected LSConsoleFrame |
protected LSConsoleFrame |
393 |
getLSConsoleFrame() { |
getLSConsoleFrame() { return lsConsoleFrame; } |
|
if(lsConsoleFrame == null) lsConsoleFrame = new LSConsoleFrame(); |
|
|
return lsConsoleFrame; |
|
|
} |
|
394 |
|
|
395 |
protected void |
protected void |
396 |
runScript() { |
runScript() { |