From owner-freebsd-java Tue Jun 20 14:45:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from ntua.gr (achilles.noc.ntua.gr [147.102.222.210]) by hub.freebsd.org (Postfix) with ESMTP id 6088C37BD30 for ; Tue, 20 Jun 2000 14:45:33 -0700 (PDT) (envelope-from past@netmode.ece.ntua.gr) Received: from netmode.ece.ntua.gr (dolly.netmode.ece.ntua.gr [147.102.13.10]) by ntua.gr (8.9.3/8.9.3) with ESMTP id AAA16632; Wed, 21 Jun 2000 00:45:31 +0300 (EET DST) Received: by netmode.ece.ntua.gr (Postfix, from userid 410) id B4C1985C3; Wed, 21 Jun 2000 00:33:59 +0300 (EET DST) Date: Wed, 21 Jun 2000 00:33:59 +0300 From: Panagiotis Astithas To: Greg Lewis Cc: Rob Furphy , "freebsd-java@FreeBSD.ORG" Subject: Re: Native JDK sound Message-ID: <20000621003358.A25031@netmode.ece.ntua.gr> Reply-To: past@netmode.ntua.gr References: <394E8AD9.25790642@ox.com> <200006192143.HAA78923@ares.trc.adelaide.edu.au> <20000620200712.A24209@netmode.ece.ntua.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000620200712.A24209@netmode.ece.ntua.gr>; from past@netmode.ntua.gr on Tue, Jun 20, 2000 at 08:07:12PM +0300 X-Organizational-Unit: Network Management and Optimal Design Laboratory X-Organization: National Technical University of Athens, GREECE X-Work-Phone: +30-1-772-1-450 X-Work-FAX: +30-1-772-1-452 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 20, 2000 at 08:07:12PM +0300, Panagiotis Astithas wrote: > I tried to investigate the issue, but I got this: > laptop$ java -jar Java2Demo.jar > Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0 > at java.awt.image.SampleModel.(SampleModel.java:100) > at java.awt.image.SinglePixelPackedSampleModel.(SinglePixelPackedSampleModel.java:109) > at java.awt.image.Raster.createPackedRaster(Raster.java:598) > at java.awt.image.Raster.createPackedRaster(Raster.java:412) > at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:633) > at java.awt.image.BufferedImage.(BufferedImage.java:245) > at TextureChooser.getTextTexture(TextureChooser.java:102) > at TextureChooser.(TextureChooser.java:63) > at Controls.(Controls.java:94) > at Java2Demo.(Java2Demo.java:109) > at Java2Demo.main(Java2Demo.java:460) > ^C > > when the application was showing "Loading: init" and a bar 15% full. > I have patchset 9, 4-STABLE, no JIT/OpenJIT, XFree86 3.3.5, Lesstiff. > The linux-jdk works fine with Java2Demo, except that it does not play > any sound (no error messages either). Anybody has a clue? I found out what was wrong with that. I was using Robert Swindells' font.properties file, and obviously it isn't quite perfect. I also noticed that in the tests, the antialiasing does not work if you use that font.properties. The sad thing is that I cannot work with the default ones (they are VERY ugly), so I am afraid I will be switching font.properties files :-( -past P.S.: BTW, sound does not work for me either. Wav, au, aiff files produce nothing. Rmf files produce exceptions (Classes not found). I will investigate further. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message