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

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java (file contents):
Revision 1.2 by ajm, Sun Jan 14 22:37:24 2001 UTC vs.
Revision 1.3 by ajm, Sun Jan 14 23:14:35 2001 UTC

# Line 136 | Line 136 | public class SwingClient extends JFrame implements Run
136   //---PUBLIC METHODS---
137  
138      public void run() {
139 +        try {
140          _data.start();
141          while(true) {
142 +            synchronized (_data) {
143 +                _data.wait();
144 +            }
145              String xml = _data.getXML();
146              if (xml == null) {
147                  // nothing
# Line 188 | Line 192 | public class SwingClient extends JFrame implements Run
192              _memory_swapinuse.setText(packet.getParam("packet.memory.swapinuse"));
193              _memory_swapfree.setText(packet.getParam("packet.memory.swapfree"));
194              }
195 +        }
196 +        } catch (Exception e) {
197 +            System.err.println("ERROR: " + e);
198          }
199      }
200  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines