Revision 1898

View differences:

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
81 81
        this.assignedValue = value;
82 82
    }
83 83

  
84
    @Override
84 85
    public void setReadOnly(boolean readonly) {
86
        JComponent jlabel = this.getJLabel();
87
        if( jlabel !=null ) {
88
            jlabel.setEnabled(!readonly);
89
        }
85 90
        this.readonly = readonly;
86 91
        if (this.contents != null) {
87 92
            if (this.readonly) {

Also available in: Unified diff