214 |
|
_config.setProperty("knownHostsList", knownHosts + host + ";"); |
215 |
|
} |
216 |
|
} |
217 |
+ |
|
218 |
+ |
/** |
219 |
+ |
* Removes all the tabs on display |
220 |
+ |
* Used to tidy up when a new data |
221 |
+ |
* channel is opened. |
222 |
+ |
*/ |
223 |
+ |
public void cleanUpTabs() { |
224 |
+ |
_displayPaneLayout = new CardLayout(); |
225 |
+ |
_displayPane = new JPanel(_displayPaneLayout); |
226 |
+ |
JScrollPane right = new JScrollPane(_displayPane); |
227 |
+ |
setRightComponent(right); |
228 |
+ |
} |
229 |
|
|
230 |
|
//---ACCESSOR/MUTATOR METHODS--- |
231 |
< |
|
220 |
< |
//---ATTRIBUTES--- |
221 |
< |
|
231 |
> |
|
232 |
|
/** |
223 |
– |
* The state of this thread. |
224 |
– |
*/ |
225 |
– |
boolean _running = true; |
226 |
– |
|
227 |
– |
/** |
233 |
|
* Assigns the queue that this panel |
234 |
|
* will use to obtain data |
235 |
|
* |
240 |
|
_myQueue = _dataQueue.getQueue(); |
241 |
|
} |
242 |
|
|
243 |
+ |
//---ATTRIBUTES--- |
244 |
+ |
|
245 |
|
/** |
246 |
< |
* Removes all the tabs on display |
240 |
< |
* Used to tidy up when a new data |
241 |
< |
* channel is opened. |
246 |
> |
* The state of this thread. |
247 |
|
*/ |
248 |
< |
public void cleanUpTabs() { |
244 |
< |
_displayPane = new JPanel(_displayPaneLayout); |
245 |
< |
} |
248 |
> |
boolean _running = true; |
249 |
|
|
250 |
|
/** |
251 |
|
* This card layout is used for the _displayPane |