ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/uk/org/iscream/cms/conient/DataPanel.java
(Generate patch)

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/DataPanel.java (file contents):
Revision 1.22 by ajm, Mon Mar 19 00:23:50 2001 UTC vs.
Revision 1.23 by ajm, Mon Mar 19 00:49:11 2001 UTC

# Line 214 | Line 214 | public class DataPanel extends JSplitPane implements R
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       *
# Line 235 | Line 240 | public class DataPanel extends JSplitPane implements R
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines