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.3 by ajm, Mon Jan 22 04:45:58 2001 UTC vs.
Revision 1.4 by tdb, Mon Jan 22 19:35:36 2001 UTC

# Line 45 | Line 45 | public class DataPanel extends JPanel implements Runna
45                          HostDisplayPanel host = new HostDisplayPanel();      
46                          _tabbedPane.addTab(hostName, _serverIcon, host, "Monitor " + hostName);
47                          hostList.put(hostName, host);
48 <                        //_status.insert("New Host added: " + hostName + "\n", 0);
48 >                        SwingClient.addMessage("New Host added: " + hostName);
49                      }
50                      ((HostDisplayPanel) hostList.get(hostName)).updateHost(packet);
51                  }
# Line 58 | Line 58 | public class DataPanel extends JPanel implements Runna
58      public void setQueue(Queue queue) {
59          _dataQueue = queue;
60          _myQueue = _dataQueue.getQueue();
61 +    }
62 +
63 +    public void cleanUpTabs() {
64 +        _tabbedPane.removeAll();
65      }
66  
67      JTabbedPane _tabbedPane = new JTabbedPane();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines