Hi,
I want to have a JButton which upon being clicked, is disabled and upon
some other condition being satisfied becomes enabled again.

So in the action handler event of that JButton, i give

(deffunction ybutton-handler (?evt)
(call (get ?evt source) setEnabled false))

But I get the exception that I am not allowed to overload this function.

No overloading of method 'setEnabled' in class javax.swing.JButton I can
call with these arguments: (call (get ?evt source) setEnabled false

I am not sure why,

Can someone help me with this,

Regards,
Raj.


---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to