Skip to main content

A problem with JXMonthView and JXDate Picker...

15 replies [Last post]
maurylovesjdk
Offline
Joined: 2008-02-06
Points: 0

Hi you all!
I'd like to know why I've got this exception when I try to use JXMonthView and JXDatePicker.
The code lines from the shell are

UIDefaults.getUI() failed: no ComponentUI class for: org.jdesktop.swingx.JXMonthView[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=]
java.lang.Error
//...and continue...

Now, in the main I'm using Synthetica LAF, but it never gives me error...Why it can't find the appropriate UI?

Thanks,
Maurizio

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
montechristos
Offline
Joined: 2005-09-29
Points: 0

Hi Wolfgang,

My suggestion would be to use the 0.9.1 version as it is a 'release'?

Thanks anyway

Kleopatra

Wolfgang,

any wishlist how we can ease the pain for you? (X-mas is over, but you
can try )

CU
Jeanette

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

wzberger
Offline
Joined: 2004-08-31
Points: 0

Less API changes ;-)
I will contact you as soon as I have a concrete idea...

Thanks Wolfgang

Kleopatra

jdnc-interest@javadesktop.org schrieb:
> Less API changes ;-)
>

LOL! This is Labs

Jeanette

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

wzberger
Offline
Joined: 2004-08-31
Points: 0

With SwingX 0.9.1 the JXMonthView class has been moved from the calendar package to parent. Because it's a little bit difficult to keep SwingX and SyntheticaAddons synchronized I always recommend to use the SwingX library which comes along with the SyntheticaAddons package. So it's guaranteed that both packages work together well.

Anyway, a SyntheticaAddons update is currently under construction and will be delivered soon. It also comes along with a recent SwingX library.

Wolfgang

kschaefe
Offline
Joined: 2006-06-08
Points: 0

Thanks for checking on this.

Karl

Kleopatra

Hi Maurizio,
> Hi you all!
> I'd like to know why I've got this exception when I try to use JXMonthView and JXDatePicker.
> The code lines from the shell are
>
> UIDefaults.getUI() failed: no ComponentUI class for: org.jdesktop.swingx.JXMonthView[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=]
> java.lang.Error
> //...and continue...
>
> Now, in the main I'm using Synthetica LAF, but it never gives me error...Why it can't find the appropriate UI?
>
>

hmm .. sounds like somthing we thought is fixed: which version of Swingx
are you using?

Cheers
Jeanette

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

maurylovesjdk
Offline
Joined: 2008-02-06
Points: 0

Thanks, I'm thinking about a bug, 'cause it's the only component (well, in my experience of course) that has this problem.
Anyway, I'm using the SwingX 0.9.1.

Regards
Maurizio

P.S. Actually I've solved the problem using JCalendar...It works and it's quite pretty, but it isn't the same...

montechristos
Offline
Joined: 2005-09-29
Points: 0

I have the same problem since we upgraded to SwingX 0.9.1

Any solution/workaround?

kleopatra
Offline
Joined: 2003-06-11
Points: 0

> I have the same problem since we upgraded to SwingX
> 0.9.1
>
> Any solution/workaround?

Hmm ... no, don't know what's happening: as already mentioned - we haven't seen this for quite a while and thought it was fixed at its base (more robust loading - against classloader - of the ui delegates). Karl, any idea?

Jeanette

kleopatra
Offline
Joined: 2003-06-11
Points: 0

forgot: are those two comps the ones where you see the problem? What about SwingX only (that is no equivalent in core) components with ui (like JXStatusBar etc).

Jeanette

montechristos
Offline
Joined: 2005-09-29
Points: 0

I'll test more on Monday and tell you

kschaefe
Offline
Joined: 2006-06-08
Points: 0

Synthetica may not have updated, the location change for the JXMonthView from the calendar subpackage to the swingx package.

Wolfgang, are you listening? Is this a SwingX bug or a Synthetica bug?

Karl

wzberger
Offline
Joined: 2004-08-31
Points: 0

Sorry for the delay - I'll check this.

Wolfgang

Kleopatra

Hi Wolfgang,
> Sorry for the delay - I'll check this.
>

great - thanks!

Jeanette

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net