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!
-- 
View this message in context: 
http://www.nabble.com/Look-And-Feel-tp16896587p16896587.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to