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 I´m running Swing programs I´m 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.
>
> I´m 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]
>
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]