Date: Wed, 8 Mar 2000 09:07:58 -0500 (EST) From: "Viren R.Shah" <viren@rstcorp.com> To: freebsd-java@freebsd.org Subject: font problems with displaying Java Swing on FreeBSD Message-ID: <14534.24254.753198.892575@jabberwock.rstcorp.com>
next in thread | raw e-mail | index | archive | help
[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]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
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.<init>(JPanel.java, Compiled Code)
at javax.swing.JPanel.<init>(JPanel.java, Compiled Code)
at javax.swing.JRootPane.createGlassPane(JRootPane.java, Compiled Code)
at javax.swing.JRootPane.<init>(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.<init>(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
--
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14534.24254.753198.892575>
