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.23 by ajm, Mon Mar 19 00:49:11 2001 UTC vs.
Revision 1.24 by ajm, Mon Mar 19 01:38:16 2001 UTC

# Line 187 | Line 187 | public class DataPanel extends JSplitPane implements R
187       */
188      private void addHostPanel(String host) {
189          HostDisplayPanel hostPanel = new HostDisplayPanel(host);
190 <        //SwingSafeAdd task = new SwingSafeAdd(_displayPane, hostPanel);
191 <        //SwingUtilities.invokeLater(task);
190 >        SwingSafeAddCard task = new SwingSafeAddCard(_displayPane, hostPanel, host);
191 >        SwingUtilities.invokeLater(task);
192          _displayPane.add(hostPanel, host);
193          _hostList.put(host, hostPanel);
194  
# Line 221 | Line 221 | public class DataPanel extends JSplitPane implements R
221       * channel is opened.
222       */
223      public void cleanUpTabs() {
224 +        int currloc = getDividerLocation();
225          _displayPaneLayout = new CardLayout();
226          _displayPane = new JPanel(_displayPaneLayout);
227          JScrollPane right = new JScrollPane(_displayPane);
228          setRightComponent(right);
229 +        setDividerLocation(currloc);
230      }
231          
232   //---ACCESSOR/MUTATOR METHODS---

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines