[Microba-controls] Fatal issue with DatePicker and NetBeans' Matisse GUI builder.
Brought to you by:
michaelbaranov
From: Witold S. <plj...@gm...> - 2006-11-14 16:37:05
|
Hello there, I am developing application using NetBeans 5.5 and its GUI builder. I had a problem with Matisse throwing exception one one of my forms and that exception was caused by some problem with Microba DatePicker. I do not know much about Swing's internals, but let me show you the answer from Sun employee regarding my problem: The exception you attached is probably caused by a bug in the GUI builder (would be worth reporting in IssueZilla), however it is caused but another exception - DataPicker component fails on instantiation (thus the layout loading fails). ---------------------------------------------------------------------------- Subject: Re: Matisse is throwing exception until I restart NetBeans Tomas Pavek wrote: ---------------------------------------------------------------------------- When you compile the other form and reopen the WizytyForm form, a new classloader is used to load the classes - so new version of DataPicker class is loaded, but it probably interacts with the old version of the BasicDatePickerUI. If you restart, everything seems ok - when the class is loaded first time. Would be good to investigate why this happens... especially the CalendarPane.updateUI method - how it gets the UI delegate. ---------------------------------------------------------------------------- here is entire context: http://www.netbeans.org/servlets/BrowseList?list=nbui&by=thread&from=650541 ---------------------------------------------------------------------------- I really do find Microba's DatePicker better than other date-related widgets (for example the way it deals with null values). Could you guys, take a look at that problem and tell me if you are able to fix that issue? NetBeans is now very popular, its GUI builder is going to be even more powerful, so resolving that could help others as well. Cheers, W.Szczerba |