View | Details | Raw Unified | Return to bug 59964
Collapse All | Expand All

(-)src/core/org/apache/jmeter/util/ScriptingBeanInfoSupport.java (-1 / +8 lines)
Lines 29-34 Link Here
29
import javax.swing.JCheckBox;
29
import javax.swing.JCheckBox;
30
30
31
import org.apache.commons.lang3.StringUtils;
31
import org.apache.commons.lang3.StringUtils;
32
import org.apache.jmeter.gui.ClearGui;
32
import org.apache.jmeter.testbeans.BeanInfoSupport;
33
import org.apache.jmeter.testbeans.BeanInfoSupport;
33
import org.apache.jmeter.testbeans.TestBean;
34
import org.apache.jmeter.testbeans.TestBean;
34
import org.apache.jmeter.testbeans.gui.FileEditor;
35
import org.apache.jmeter.testbeans.gui.FileEditor;
Lines 116-122 Link Here
116
        
117
        
117
    }
118
    }
118
    
119
    
119
    public static class JSR223ScriptCacheCheckboxEditor extends PropertyEditorSupport implements ActionListener {
120
    public static class JSR223ScriptCacheCheckboxEditor extends PropertyEditorSupport implements ActionListener, ClearGui {
120
121
121
        private final JCheckBox checkbox;
122
        private final JCheckBox checkbox;
122
123
Lines 198-202 Link Here
198
        public boolean supportsCustomEditor() {
199
        public boolean supportsCustomEditor() {
199
            return true;
200
            return true;
200
        }
201
        }
202
203
        @Override
204
        public void clearGui() {
205
            initialValue = null;
206
            checkbox.setSelected(false);
207
        }
201
    }
208
    }
202
}
209
}

Return to bug 59964