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

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/ServiceDataComponent.java (file contents):
Revision 1.3 by ajm, Sun Mar 18 14:43:39 2001 UTC vs.
Revision 1.4 by ajm, Sun Mar 18 16:28:53 2001 UTC

# Line 53 | Line 53 | public class ServiceDataComponent extends VisibleDataC
53          _item.setEditable(false);
54          _item.setText("-uninitialised-");
55          add(_item);
56 +        setVisible(false);
57      }
58  
59   //---PUBLIC METHODS---
# Line 64 | Line 65 | public class ServiceDataComponent extends VisibleDataC
65       * run this method.
66       */
67      public void run() {
68 +        if(!isVisible()) {
69 +            setVisible(true);
70 +        }
71          if (_statusCache.equals("0")) {
72              _item.setBackground(Color.green);
73              _item.setText(_name + "[OK] : " + _cache);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines