From owner-freebsd-java Wed Mar 8 12:26:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from assurance.rstcorp.com (rstrorp2.daf.concentric.net [216.112.242.2]) by hub.freebsd.org (Postfix) with ESMTP id 4C23837C477 for ; Wed, 8 Mar 2000 12:26:40 -0800 (PST) (envelope-from vshah@rstcorp.com) Received: (from uucp@localhost) by assurance.rstcorp.com (8.9.3/8.9.3) id PAA05008; Wed, 8 Mar 2000 15:28:19 -0500 Received: from sandbox.rstcorp.com(192.168.2.63) by assurance.rstcorp.com via smap (V2.0) id xma004992; Wed, 8 Mar 00 20:27:47 GMT Received: from jabberwock.rstcorp.com (jabberwock.rstcorp.com [192.168.2.98]) by sandbox.rstcorp.com (8.9.3/8.9.3) with ESMTP id PAA16815; Wed, 8 Mar 2000 15:26:02 -0500 (EST) Received: by jabberwock.rstcorp.com (Postfix, from userid 93) id 9C0BA5A7F; Wed, 8 Mar 2000 15:26:00 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14534.46936.495288.407359@jabberwock.rstcorp.com> Date: Wed, 8 Mar 2000 15:26:00 -0500 (EST) From: "Viren R.Shah" To: Sven Reimers Cc: freebsd-java@freebsd.org, Ernst de Haan Subject: Re: font problems with displaying Java Swing on FreeBSD In-Reply-To: <38C6714D.25C2C58E@tu-harburg.de> References: <14534.24254.753198.892575@jabberwock.rstcorp.com> <38C6714D.25C2C58E@tu-harburg.de> X-Mailer: VM 6.72 under 19.16 "Lille" XEmacs Lucid Reply-To: "Viren R.Shah" X-Face: )~y+U*K:yzjz{q<5lzpI_SVef'U.])9g[C9`1N@]u3,MHY7f*l7C)[_NjM4y4K8$uIUh|\u (K&&HS6,M!61&GMTk'mqmB/Qg]]X}"?TzsFl]"2v!bl8']dma.:^IY^a[lbOI>U:b<~FyK3q-p{HmZ mn~g.`~BE!5{2D:}Yi+\_KkWe?XaHj9$ko1k8iKLYv5*_2c8"G=?Up[}hn+7RNM(bzBZ_wWk6!Pf&B ?3Tcm7M7B~W%K/I0aX3]*=jP?aM]H6HBPT`oLk+0n^_;N\2\%|Rhy;p}34Q.jEsM\qtnxcm;ag%Nq Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "Sven" == Sven Reimers writes: Sven> Get the URW-fonts (e.g gimp.org) Sven> Sven I did get and install them. Unfortunately I still have the same problem. I'm running XFree86 3.3.5 -- could this be a problem? [I also looked at blackdown.org, which suggests the same thing] I also tried installing gsfonts-5.10, and manually editing the fonts.scale file to change the zapfchancery font spec to conform to what the solaris JDK wanted -- this stopped the eoor messages below, but I still get the same exception. Any ideas? Sven> "Viren R.Shah" wrote: >> >> [This is only tangentially related to FreeBSD Java, but it seemed like >> the best forum for it] >> >> I'm trying to display a Java 1.2.2/Swing application from a Solaris >> 2.7 box onto a FreeBSD -current machine. It won't display, citing the >> following error messages: >> >> Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific] ...[deleted lots more of the same] >> Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific] >> Exception in thread "main" java.lang.NullPointerException >> at java.util.Hashtable.get(Hashtable.java, Compiled Code) >> at javax.swing.UIDefaults.get(UIDefaults.java, Compiled Code) >> at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java, Compiled Code) >> at javax.swing.UIDefaults.getUIClass(UIDefaults.java, Compiled Code) >> at javax.swing.UIDefaults.getUI(UIDefaults.java, Compiled Code) >> at javax.swing.UIManager.getUI(UIManager.java, Compiled Code) >> at javax.swing.JPanel.updateUI(JPanel.java, Compiled Code) >> at javax.swing.JPanel.(JPanel.java, Compiled Code) >> at javax.swing.JPanel.(JPanel.java, Compiled Code) >> at javax.swing.JRootPane.createGlassPane(JRootPane.java, Compiled Code) >> at javax.swing.JRootPane.(JRootPane.java, Compiled Code) >> at javax.swing.JFrame.createRootPane(JFrame.java, Compiled Code) >> at javax.swing.JFrame.frameInit(JFrame.java, Compiled Code) >> at javax.swing.JFrame.(JFrame.java, Compiled Code) >> at SwingApplication.main(SwingApplication.java, Compiled Code) >> >> I tried the same thing on an NT box with X-Win32, and while it gave >> the same erros, it did display. Also the application displayed on the >> console of the solaris box. This is one of the standard exampels in >> the Swing tutorial. >> http://web2.java.sun.com/docs/books/tutorial/uiswing/start/example-swing/SwingApplication.java >> >> Does anyone have a solution for this. I use FreeBSD for my desktop, >> and this makes it very difficult to write a java/swing app. >> >> Thanks >> Viren Thanks Viren -- Viren R. Shah {viren @ rstcorp . com} Names : Vanadium(23) Iodine(53) RhEnium(75) Nitrogen(7) Density(g/mL): 5.8 4.92 21 0.0001251 Average Density: 7.93003 g/mL To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message