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.5 by ajm, Wed Jan 24 03:09:45 2001 UTC vs.
Revision 1.6 by ajm, Wed Jan 24 03:21:26 2001 UTC

# Line 45 | Line 45 | public class DataPanel extends JPanel implements Runna
45              while(_running) {
46                  
47                  String xml = (String) _dataQueue.get(_myQueue);
48 <                SwingClient.setQueueStatus(_dataQueue.queueSize(_myQueue), _dataQueue.elementCount());
48 >                Conient.setQueueStatus(_dataQueue.queueSize(_myQueue), _dataQueue.elementCount());
49                  if (xml == null) {
50                      // shouldn't really happen...but not sure
51                      //_status.insert("No XML to update...",0);
# Line 69 | Line 69 | public class DataPanel extends JPanel implements Runna
69                          HostDisplayPanel host = new HostDisplayPanel();      
70                          _tabbedPane.addTab(hostName, _serverIcon, host, "Monitor " + hostName);
71                          hostList.put(hostName, host);
72 <                        SwingClient.addMessage("New Host added: " + hostName);
72 >                        Conient.addMessage("New Host added: " + hostName);
73                      }
74                      if (!((HostDisplayPanel) hostList.get(hostName)).updateHost(packet)) {
75                          throw new Exception(hostName + " sent an invalid data packet stopping data update!");
# Line 77 | Line 77 | public class DataPanel extends JPanel implements Runna
77                  }
78              }
79          } catch (Exception e) {
80 <            SwingClient.addMessage("ERROR: +" + e.getMessage());
80 >            Conient.addMessage("ERROR: +" + e.getMessage());
81          }
82      }
83  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines