finding a class inside a jar file

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Mar 2004
Posts: 773
Reputation: Phaelax is on a distinguished road 
Solved Threads: 39
Phaelax Phaelax is offline Offline
Master Poster

finding a class inside a jar file

 
0
  #1
Mar 31st, 2006
I want to add theme support to my program so that users can just download jar files containing a LnF and just drop it into an extension directory or whereever. I'll just scan that directory for jar files to see which are present. Is there a way search for a class type in a jar file and retrieve its class name? I know the UIManager class can retrieve a list of installed LnF classes, but the user-downloaded ones aren't exactly installed.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC