I get a similar behavior. When running X with 16bpp I have the same
error message.
After starting X with 32 bpp, the SwingSetApplet starts fine, but a lot
of things are
not showing up correctly. Nothing is appearing on the tabs apart from
three pictures:
a tiger, "Swing!" and the picture of a cow. In fact in looks like no
text at all is appearing
anywhere, unless it was originally a picture of a picture (like the
"Swing!" picture).
I am using Suse 6.0. The jdk1.2 with the glibc2.0 library.
My video card is Diamond Viper 330, 66Mh AGP card. (with 4MB of RAM I
believe)
Henry
From: Osvaldo Pinali Doederlein
-----------------------------------------------------------------------
I also get this stuff when runnin on 16bpp (RIVA128), or I get
totally black
windows, or (what looks like) Java2D initialization errors (e.g.
MoleculeViewer).... errors about color model mismatch.
When I change to 32bpp all goes well, but then all graphics are
unbelievably
slow (a couple orders of magnitude slower than what you'd expect
from an
_interpreter_).
For console apps all goes well, though.
Other issue: I tried to build the sources, but I wasn't able to
find the
source distribution that the readme mention, I used the
distribution that's
available in the SCSL site (jdk1_2-src.tar.gz)... the build goes
well until
a it gets errors compiling some Java sources - instantiation of
abstract
classes. Is blackdown using some more recent sources???
----- Original Message -----
From: Mark Andreas Meyer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 31, 1999 4:19 AM
Subject: Error loading MetalLookAndFeel/JDK1.2pre2
> Hi.
> When I4m running Swing programs I4m getting the following:
>
> ---snip---
> $ java -green -Djava.compiler=3D Stylepad
> Exception in thread "main" java.lang.Error: can't load
> javax.swing.plaf.metal.MetalLookAndFeel
> at
javax.swing.UIManager.initializeDefaultLAF(UIManager.java:826)=
>
> at javax.swing.UIManager.initialize(UIManager.java:896)
> at
javax.swing.UIManager.maybeInitialize(UIManager.java:913)
> at javax.swing.UIManager.getUI(UIManager.java:535)
> at javax.swing.JPanel.updateUI(JPanel.java:110)
> at javax.swing.JPanel.<init>(JPanel.java:70)
> at javax.swing.JPanel.<init>(JPanel.java:100)
> at
javax.swing.JRootPane.createGlassPane(JRootPane.java:225)
> at javax.swing.JRootPane.<init>(JRootPane.java:181)
> at javax.swing.JFrame.createRootPane(JFrame.java:154)
> at javax.swing.JFrame.frameInit(JFrame.java:147)
> at javax.swing.JFrame.<init>(JFrame.java:124)
> at Stylepad.main(Stylepad.java:57)
> ---snip---
>
> ...and nothing happens, so I aborted (Ctrl-C).
>
> I had the same problem with JDK1.2pre1 and JDK1.2pre2 on debian
2.0, 2.1
> upgraded from 2.0 and 2.1, and I was not able to find a similar
behavior
in
> the ML archive, nor a note on blackdown.org, so it=B4s propably
my fault
:(
> Looks like a missing Metal.
>
> I4m now running Debian 2.1 (recently installed) and JDK1.2pre2.
The URW
fonts
> are intalled...
>
> Any ideas?
>
> TIA, Mark
>
>
>
----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>
begin:vcard
n:Story;Henry
tel;cell:(650) 255 62 18
tel;work:(650) 295 25 28
x-mozilla-html:FALSE
url:http://www.best.com/~hjs
org:Alta Vista;babelfish
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Software Engineer
adr;quoted-printable:;;1825 South Grant Street=0D=0ASuite 410=0D=0A ;San Mateo;CA;94402;USA
x-mozilla-cpt:;5088
fn:Henry Story
end:vcard