|
Replies:
8
-
Last Post:
Mar 30, 2009 2:45 PM
by: martinm1000
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
SwingX 0.9.6 Release - Bug in Calendar Control ?
Posted:
Mar 29, 2009 6:52 PM
|
|
|
Hi,
I'm testing my code against that new release, and I think this bug is not my fault !
Can't click on next/preview month in the MonthView :
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.jdesktop.swingx.plaf.basic.BasicMonthViewUI.getTraversableGridPositionAtLocation(BasicMonthViewUI.java:892)
at org.jdesktop.swingx.plaf.basic.BasicMonthViewUI$Handler.mousePressed(BasicMonthViewUI.java:1691)
at java.awt.Component.processMouseEvent(Component.java:6213)
Which might imply :
Rectangle hitArea = new Rectangle(headerBounds.x, headerBounds.y, monthUpImage.getIconWidth(), monthUpImage.getIconHeight());
Can anyone confirm ? Can you fix it fast if its you ? 
Thanks.
|
|
|
|
|
|
|
Re: SwingX 0.9.6 Release - Bug in Calendar Control ?
Posted:
Mar 30, 2009 2:08 AM
in response to: martinm1000
|
 |
Correct |
|
|
doooohhh .... that was me: c&p is _always_ the wrong thing to do, even more so if it is an accidental x&p :-((
fixed but ... do we really have a release already? nothing tagged? and Hudson hanging again...
Anyway, embarassed Jeanette
|
|
|
|
|
|
|
|
Re: SwingX 0.9.6 Release - Bug in Calendar Control ?
Posted:
Mar 30, 2009 6:20 AM
in response to: rah003
|
|
|
no, you didn't forget anything - it's just a typical Monday for me, my brain refusing to work (forgot to synch with repository to see the tag - arrrgghhh
Now what can we do about this major issue with the navigation icons in the monthView? Any way to patch the release? Silently replace the BasicMonthViewUI with the fixed version?
Thanks Jeanette
|
|
|
|
|
|
|
|
Re: SwingX 0.9.6 Release - Bug in Calendar Control ?
Posted:
Mar 30, 2009 8:10 AM
in response to: kleopatra
|
|
|
> Now what can we do about this major issue with the navigation icons in the monthView? Any way to patch > the release? Silently replace the BasicMonthViewUI with the fixed version?
I would not do that, to make it right we would have to re-tag this one source file, update src and bin bundles to include correct version, upload them again, change the links on the site to new version and I'm sure I would forget to change something somewhere. It would be easier just to release 0.9.7 ... let's wait until the end of the week in case some other regression pops up and I'll do another release over the weekend.
|
|
|
|
|
|
|
|
Re: SwingX 0.9.6 Release - Bug in Calendar Control ?
Posted:
Mar 30, 2009 8:25 AM
in response to: rah003
|
|
|
sounds good!
Sorry for the mess, owe you some drinks in Antwerp this year 
CU Jeanette
|
|
|
|
|
|
|
|
Re: SwingX 0.9.6 Release - Bug in Calendar Control ?
Posted:
Mar 30, 2009 8:37 AM
in response to: kleopatra
|
|
|
Thanks, I'll wait for 0.9.7 soon.
You'll get to 1.0 faster that way
|
|
|
|
|
|
|
|
Re: SwingX 0.9.6 Release - Bug in Calendar Control ?
Posted:
Mar 30, 2009 12:40 PM
in response to: martinm1000
|
|
|
> Thanks, I'll wait for 0.9.7 soon. > > You'll get to 1.0 faster that way 
i wish that was true. Would appreciate if you can take the latest build from hudson and test it ... and possibly find more issues (or confirm there are none) ... also if you got some time on your hands and feel like taking over some existing issues ... I'd be happy to include any patches we get ... that's what is really geting us closer to 1.0
|
|
|
|
|
|
|
|
Re: SwingX 0.9.6 Release - Bug in Calendar Control ?
Posted:
Mar 30, 2009 2:45 PM
in response to: rah003
|
|
|
I'll try to test a build this week, but I don't have the time ;-(
Still, I don't do much in my project with the calendar control, but it still looked like I customized it; didn't have to change anything ( I expected to with the latest changes, but it looks good).
you can see here:
http://img148.imageshack.us/img148/2663/calendaru.jpg One date is selected, but the Period of the date is shown.
Simple use in a treetable : http://img11.imageshack.us/img11/3336/cal2y.jpg
|
|
|
|
|