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/StorageDataComponent.java
(Generate patch)

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

# Line 64 | Line 64 | public class StorageDataComponent extends VisibleDataC
64          _item.setString("-uninitialised-");
65          add(_label);
66          add(_item);
67 +        setVisible(false);
68      }
69  
70   //---PUBLIC METHODS---
# Line 75 | Line 76 | public class StorageDataComponent extends VisibleDataC
76       * run this method.
77       */
78      public void run() {
79 +        if(!isVisible()) {
80 +            setVisible(true);
81 +        }
82          int max = new Double(_maxvalue).intValue();
83          _item.setMaximum(max);
84          int value = new Double(_value).intValue();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines