Revision 2853 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.dynform/org.gvsig.tools.dynform.services/src/main/java/org/gvsig/tools/dynform/services/dynformfield/Date/JDynFormFieldDate.java

View differences:

JDynFormFieldDate.java
80 80
    @Override
81 81
    public void setReadOnly(boolean readonly) {
82 82
        JComponent theJlabel = this.getJLabel();
83
        if( theJlabel !=null ) {
83
        if( this.jlabel != null ) {
84
            this.jlabel.setEnabled(!readonly);
85
        } else if( theJlabel !=null ) {
84 86
            theJlabel.setEnabled(!readonly);
85 87
        }
86 88
        this.readOnly = readonly;

Also available in: Unified diff