From owner-freebsd-java Mon Oct 23 15:59: 8 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 2653A37B479 for ; Mon, 23 Oct 2000 15:59:06 -0700 (PDT) Received: from nomad.yogotech.com (yogotech.nokia.com [4.22.66.156]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id QAA00835; Mon, 23 Oct 2000 16:59:02 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id QAA02771; Mon, 23 Oct 2000 16:59:03 -0600 (MDT) (envelope-from nate) Date: Mon, 23 Oct 2000 16:59:03 -0600 (MDT) Message-Id: <200010232259.QAA02771@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Joachim Jaeckel Cc: freebsd-java@FreeBSD.ORG Subject: Re: different behaviour of JFileChooser in jdk1.1.8, linux-jdk1.2.2 and windows1.3.0 In-Reply-To: <39F4B715.C2A689BB@coffeebreak.de> References: <39F4B715.C2A689BB@coffeebreak.de> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm trying to use under the really good jdk1.1.8 and the swing-1.1.1 > from the JFileChooser class, the getSelectedFiles method. > > Under jdk1.1.8, it returns in every case a zero, same under the > linux-jdk1.2.2. But under the windows-jdk 1.3.0-006, it return the > correct count of files. > > I don't like to think, that it's a not implemented feature until jdk > 1.3.0. The Native FileChooser code was incorrect until JDK1.3, thus making JFileChooser incorrect until later releases. So, what you didn't expect is actually true. This is/was mentioned on the JDK bugslist in the Java Developers site. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message