Re: Matisse is throwing exception until I restart NetBeans
"Witold Szczerba" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
2006/11/14, Witold Szczerba <[email protected]>: > > I think it is planned for Java 7. But have you tried the SwingX component? > > There is also a JXDatePicker. > > > > Yes, I am trying to use it, but it is not working with my current > binding system. I am using JGoodies binding (simple bean binding using > internally addPropertyChangeListener on both beans), this JXDatePicker > is not acting like a javabean - it is not firing propertychange events > when date field has changed :( > I have to download sources to see what actually is fired when date changes. > That is not all. I have just figured out that this date picker is totally unusable when you have to deal with null values. Null pointer exception is thrown and component size is changing to minimum width :/ Is it that hard to foresee that people can have nulls in database? Actually this is some kind of plague in Swing components. Why nobody did not figured out that people would like to attach those components to database where value can be null. The same I have with spinner, but there I am using value 0 when there is null in database. But what date I am suppose to use when there is no date? Current one? Absurd.