.. | .. |
---|
98 | 98 | //System.out.println(e); |
---|
99 | 99 | applySelf(); |
---|
100 | 100 | //super.applySelf(); |
---|
101 | | - objEditor.refreshContents(); |
---|
| 101 | + |
---|
| 102 | + Globals.lighttouched = true; |
---|
| 103 | + objEditor.refreshContents(); |
---|
102 | 104 | //Refresh(); |
---|
103 | 105 | } |
---|
104 | 106 | else |
---|
.. | .. |
---|
136 | 138 | return objEditor; |
---|
137 | 139 | } |
---|
138 | 140 | |
---|
139 | | - void refreshContents2() |
---|
| 141 | + void refreshContents() |
---|
140 | 142 | { |
---|
141 | | - objEditor.refreshContents(); |
---|
| 143 | + itemField.setMinimum(0); |
---|
| 144 | + itemField.setMaximum(randomnode.Size() - 1); |
---|
| 145 | + itemField.setInteger(randomnode.rndIndex); |
---|
| 146 | + |
---|
| 147 | + // objEditor.refreshContents(); |
---|
142 | 148 | } |
---|
143 | 149 | |
---|
144 | 150 | RandomNode randomnode; |
---|