bug-classpath
[Top][All Lists]
Advanced

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

[Bug awt/36448] New: Classpath AWT support still royally broken


From: konqueror at gmx dot de
Subject: [Bug awt/36448] New: Classpath AWT support still royally broken
Date: 6 Jun 2008 11:23:32 -0000

I'm trying to run a hybrid Java applet/application on an AMD64 sid machine.
While my goal would be to get the applet running, I'm already stuck with some
Classpath bugs regarding any GUI activity of the application.

When using gij-4.3 with the Gtk+ peers, the application just hangs instead of
opening a window. Selecting the Qt peers doesn't seem to be possible. When
deliberately giving it a wrong URL, it should just show an error message box.
It does so with the Gtk+ peers although the text is not readable on it and the
button cannot be clicked.

When using cacao instead of gij-4.3, I can select the Qt peers. But it doesn't
help, instead
the backtrace hints at some missing methods in the peers.

$ cacao -Dawt.toolkit=gnu.java.awt.peer.qt.QtToolkit -jar ggz-java-client.jar  
 -uri foo
QPixmap: It is not safe to use pixmaps outside the GUI thread
[...]
Exception in thread "main" java.lang.UnsupportedOperationException
   at gnu.java.awt.peer.qt.QtFontPeer.getLineMetrics(QtFontPeer.java:188)
   at java.awt.Font.getLineMetrics(Font.java:1029)
[...]
   at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:1442)

The JAR file can be downloaded from:
  http://us.ggzgamingzone.org/~josef/ggz-java-client.jar
It works fine with the latest JDK7 builds and other Sun releases.


-- 
           Summary: Classpath AWT support still royally broken
           Product: classpath
           Version: 0.97
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: konqueror at gmx dot de


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





reply via email to

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