Hi Paolo,
In your ULCSpinner#uploadStateUI() method:
@Override
protected void uploadStateUI() {
>>>> super.uploadStateUI();
createStateUI(new Object[] {value, minimum, maximum, stepSize});
}
You forgot to call super.uploadStateUI(). This method is responsible for
uploading "enabled", "enabler" and other common properties of ULCComponent.
Thanks and regards,
Janak
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Paolo Scaffardi
>Sent: Sunday, June 11, 2006 1:15 PM
>To: [email protected]
>Subject: [ULC-developer] My ULCSpinner component (IEnabler problems)
>
>
>Hi there!
>This is my ULCSpinner component (the basic object is
>JSpinner/SpinnerNumberModel). It seems to work but i have problems with
>Enablers because it seems not to source enablers correctly.
>
>I dont understand why the UISpinner.BasicSpinner.setEnabled method is
>never called when, in the sample i posted you, i entered something on
>the textfield. I set that textfield as enabler of the spinner and of the
>button. The button is correctly enabled, but my the spinner not.
>
>Why? :-o
>
>Best regards,
>Paolo Scaffardi
>GFP Lab s.r.l.
>http://www.gfplab.com
>fax 178 2258454
>
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer