bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/27669] New: Jmol's AWT backend gives grey window


From: egon dot willighagen at gmail dot com
Subject: [Bug classpath/27669] New: Jmol's AWT backend gives grey window
Date: 18 May 2006 19:45:06 -0000

If Jmol 10.2 is started with:

  cacao -Djava.version=1.1 -jar Jmol.jar

then it shows a grey screen. Somewhere last autumn I spoke with someone on
#classpath about this, and he thought it could be caused by the fact that Jmol
assumes a RGB feature, while Classpath returns a RGBA, in effect incorrectly
setting the transparency, giving the grey output. I do remember trying some
workarounds for that, but it never worked.

The involved Jmol code looks like:

ColorModel colorModelRGB;
  ImageConsumer ic;

  Awt3D(Component component) {
    this.component = component;
    colorModelRGB = Toolkit.getDefaultToolkit().getColorModel();
  }

See:

http://svn.sourceforge.net/viewcvs.cgi/jmol/branches/v10_2/Jmol/src/org/jmol/g3d/Awt3D.java?view=log

If the java.version parameter is not given, Jmol uses a Swing backend, which
works properly. The Sun JVM works properly in AWT mode, so there seems to be
some incompatibility.

Egon


-- 
           Summary: Jmol's AWT backend gives grey window
           Product: classpath
           Version: 0.91
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: egon dot willighagen at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27669





reply via email to

[Prev in Thread] Current Thread [Next in Thread]