Date: Thu, 15 Jul 1999 08:27:41 -0600 From: Nate Williams <nate@mt.sri.com> To: Joachim Jaeckel <Joachim.Jaeckel@d.kamp.net> Cc: freebsd-java@FreeBSD.ORG Subject: Re: problems loading images for buttons? Message-ID: <199907151427.IAA02100@mt.sri.com> In-Reply-To: <378DE04A.F57DC530@d.kamp.net> References: <378DE04A.F57DC530@d.kamp.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> I=B4ve a problem trying to load an image for a button. >=20 > The description of "new ImageIcon("images/middle.gif")" says, that it= > loads the image relative to the path where the class-file is. But if = I=B4m > not in this path, the image isn=B4t loaded. I=B4m using jdk1.1.7 for = FreeBSD > (the old static Version...). Is this a bug in the jdk or do I somethi= ng > wrong. I'm almost positive this is 'standard behavior' of how things work. Where is ImageIcon documented? In my experiences, you load 'resources'= out of the CLASSPATH, but certainly not images. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907151427.IAA02100>