Swing & AWT demo troubles

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

 



Hi,
actually I wanted to test an XML patch on an application but while
running an IzPack created installer with a Cacao+Classpath CVS HEAD
I saw a lot of layout/drawing errors.

Running the AWT demo resulted in:
cacao -cp examples.zip gnu/classpath/examples/awt/Demo
Exception in thread "main" java.lang.ClassCastException
   at java.lang.Class.asSubclass(Class.java:1304)
   at
gnu.java.awt.peer.gtk.GtkToolkit.createDragGestureRecognizer(GtkToolkit.java:637)
   at
java.awt.dnd.DragSource.createDragGestureRecognizer(DragSource.java:235)
   at
java.awt.dnd.DragSource.createDefaultDragGestureRecognizer(DragSource.java:244)
   at
gnu.classpath.examples.awt.Demo$DragDropWindow$DragLabel.<init>(Demo.java:946)
   at gnu.classpath.examples.awt.Demo$DragDropWindow.<init>(Demo.java:867)
   at gnu.classpath.examples.awt.Demo$MainWindow.<init>(Demo.java:218)
   at gnu.classpath.examples.awt.Demo.main(Demo.java:92)

And the TextAreaDemo produces:

cacao -cp examples.zip gnu/classpath/examples/swing/TextAreaDemo
Exception during event dispatch:
java.lang.ArithmeticException: / by zero
   at javax.swing.text.PlainView.paint(PlainView.java:298)
   at
javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:388)
   at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:1154)
   at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:1105)
   at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:1183)

Has anyone a quick idea or should I post bug reports for both issues?

Regards
Robert

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux