« Return to Thread: PropertyEditorManager.findEditor() and getPropertyEditorClass() disagree?!?!

Re: PropertyEditorManager.findEditor() and getPropertyEditorClass() disagree?!?!

by David Strupl :: Rate this Message:

Reply to Author | View in Thread

rhizomorph napsal(a):
> The call to registerEditor() in the static block IS getting executed.

And is it executed "soon enough"? I mean whether it is not executed *after* the
call to findEditor by NB code. You should find out using the debugger I guess
since my comment is just a wild guess ;-)

> And
> when I later call PropertyEditorManager.findEditor(MyEnum.class), it returns
> a property editor of the correct class.

Br,

--
David Strupl
http://dstrupl.blogspot.com

 « Return to Thread: PropertyEditorManager.findEditor() and getPropertyEditorClass() disagree?!?!