# | 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(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |