Just a guess, but perhaps you are running into class loading issues.
I know that Swing plaf infrastructure makes some assumptions about how
it can locate required classes -- they think they can ask any class
loader to find them and this won't work if the class loader is a bundle.
We try to catch this case, but cannot catch all cases.
Just for a quick test, you can try to set felix' boot delegation
property in conf/config.properties to "*" and see if it solves your
issue. If so, then I would recommend trying to narrow it down to the
precise packages for which you need access.
-> richard
Elvy wrote:
We try to set the look and feel with the properties swing.defaultlaf or in
the code but we have some problems with menu items. Menu items are not
visible and we have this error :
UIDefaults.getUI() failed: no ComponentUI class for:
javax.swing.JMenuItem[,0,0,
0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSi
ze=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=null,
paintBorder=false,paintFocus=false,pressedIcon=,rolloverEnabled=false,rolloverIc
on=,rolloverSelectedIcon=,selectedIcon=,text=]
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:711)
at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:117)
at javax.swing.UIDefaults.getUI(UIDefaults.java:741)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JMenuItem.updateUI(JMenuItem.java:232)
at javax.swing.JMenuItem.init(JMenuItem.java:194)
at javax.swing.JMenuItem.<init>(JMenuItem.java:133)
at javax.swing.JMenuItem.<init>(JMenuItem.java:92)
-----
Tell me something you don't know!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]