AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with Proguard and JGoodies

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools
View previous topic :: View next topic  
Author Message
Thorsten Koch
Guest





PostPosted: Tue Dec 07, 2004 2:11 pm    Post subject: Problem with Proguard and JGoodies Reply with quote



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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.