classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about GNU Icons


From: Roman Kennke
Subject: Re: Question about GNU Icons
Date: Thu, 07 Jul 2005 20:55:55 +0200

Am Donnerstag, den 07.07.2005, 12:34 -0400 schrieb Lillian Angel:
> Hello,
> 
> I have been working on JTree for sometime and for some reason the icons
> for the tree do not seem to be in the classpath/javax/swing/basic/plaf/
> folder. Is it okay to use those from gnu/javax/swing/plaf/gtk/icons ?

Sure. As I said on IRC, load them with new
ImageIcon(getClass().getResource("/path/to/icons/icon.png")) so you will
get no problems with paths etc.

/Roman






reply via email to

[Prev in Thread] Current Thread [Next in Thread]