Using icons packaged in jar in NetBeans
800776Jan 4 2009 — edited Jan 4 2009Hello!
I want to use [Java LAF Graphics Repository|http://java.sun.com/developer/techDocs/hi/repository/] in my development with NetBeans but there is a problem... There are two ways to use this icons:
1) I can unzip jlfgr-1_0.jar and reference from GUI builder to gif files directly. This method works okay...
2) I can add jlfgr-1_0.jar to classpath. Then I can get icons with method getResource(). But how to use icons in GUI builder then???
The question: what is the best way of using icons packaged in jar in NetBeans IDE?
Thank you.