Re: setEnabled() and complex components

2007-08-24 Thread Federico Fanton
On Fri, 24 Aug 2007 12:24:46 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > > I was wondering, is there a way to cleanly enable/disable complex > > components such as DateFields and Palettes? I see that > > Component.setEnabled() is final so it cannot be overridden to handle > > special cas

Re: setEnabled() and complex components

2007-08-24 Thread Federico Fanton
On Fri, 24 Aug 2007 12:08:48 +0200 Federico Fanton <[EMAIL PROTECTED]> wrote: > I was wondering, is there a way to cleanly enable/disable complex components > such as DateFields and Palettes? I see that Component.setEnabled() is final > so it cannot be overridden to handle special cases.. Should

setEnabled() and complex components

2007-08-24 Thread Federico Fanton
Hi everyone! I was wondering, is there a way to cleanly enable/disable complex components such as DateFields and Palettes? I see that Component.setEnabled() is final so it cannot be overridden to handle special cases.. Should I always call visitChildren() on the component and setEnabled() on eve