From owner-freebsd-java Thu Jul 15 6:19:50 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.kamp.net (ns.kamp.net [195.62.97.2]) by hub.freebsd.org (Postfix) with ESMTP id AEA2514D8A for ; Thu, 15 Jul 1999 06:19:41 -0700 (PDT) (envelope-from Joachim.Jaeckel@d.kamp.net) Received: from d.kamp.net (port-9.d.kamp.de [195.62.120.201]) by ns.kamp.net (8.9.3/8.9.3) with ESMTP id PAA29543 for ; Thu, 15 Jul 1999 15:18:56 +0200 (MET DST) Message-ID: <378DE04A.F57DC530@d.kamp.net> Date: Thu, 15 Jul 1999 15:21:14 +0200 From: Joachim Jaeckel X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.1-RELEASE i386) MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: problems loading images for buttons? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I´ve a problem trying to load an image for a button. 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´m not in this path, the image isn´t loaded. I´m using jdk1.1.7 for FreeBSD (the old static Version...). Is this a bug in the jdk or do I something wrong. Thanks in advance. -- Joachim.Jaeckel@d.kamp.net -- http://home.kamp.net/home/joachim.jaeckel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message