Thorsten Koch Guest
|
Posted: Tue Dec 07, 2004 2:11 pm Post subject: Problem with Proguard and JGoodies |
|
|
Hello,
I am encountering a problem with a project which uses the JGoodies
libraries when I want to shrink it with Proguard.
I am using the Plastic3DLookAndFeel provided with JGoodies. I use
Proguard to make a single jar out of my input jars (among others, the
jgoodies jars) and to throw away all the unneeded classes. Now when it
comes to creating a JLabel, I get the following error:
UIDefaults.getUI() failed: no ComponentUI class for:
javax.swing.JLabel[,0,0,0x0,invalid,alignmentX=null,alignmentY=null,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horizontalAlignment=LEADING,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,text=Prüfmittel,verticalAlignment=CENTER,verticalTextPosition=CENTER]
java.lang.Error
at javax.swing.UIDefaults.getUIError(Unknown Source)
at javax.swing.UIDefaults.getUI(Unknown Source)
at javax.swing.UIManager.getUI(Unknown Source)
at javax.swing.JLabel.updateUI(Unknown Source)
at javax.swing.JLabel.<init>(Unknown Source)
at javax.swing.JLabel.<init>(Unknown Source)
So I guess that I have tell Proguard to keep certain parts of the
JGoodies part. But I wasn't successfull to find out what to keep...
Anyone out there who already solved the problem?
Thorsten Koch
|
|