new to sable
"Dr. Christoph Gille" <[email protected]> Sat, 1 Jul 2006 12:33:57 +0200 (CEST)
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am working the first day with sable.
I noticed that the included swing library is somehow different to the sun=
or
ibm swing.
E.g.
new JLabel("<html><body>hallo<br>wie geht es </body></html>")
does not render the html. It prints the html source in the JLabel.
Therefore I decided to replace the swing by
/opt/blackdown-jre-1.4.2.02/lib/rt.jar
What is wrong ?
I got many Exceptions
java.lang.Throwable
at java.lang.Thread.dumpStack (Thread.java:479)
at javax.swing.SwingGraphics.createSwingGraphics (Unknown Source)
at javax.swing.JComponent.paintWithOffscreenBuffer (Unknown Source)
at javax.swing.JComponent.paintDoubleBuffered (Unknown Source)
at javax.swing.JComponent.paint (Unknown Source)
at java.awt.Container$GfxPaintVisitor.visit (Container.java:1820)
at java.awt.Container.visitChild (Container.java:1624)
at java.awt.Container.visitChildren (Container.java:1586)
at java.awt.Container.paint (Container.java:772)
at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent
(GtkComponentPeer.java:313)
at java.awt.Component.dispatchEventImpl (Component.java:4850)
at java.awt.Container.dispatchEventImpl (Container.java:1647)
at java.awt.Window.dispatchEventImpl (Window.java:623)
at java.awt.Component.dispatchEvent (Component.java:2342)
at java.awt.EventQueue.dispatchEvent (EventQueue.java:474)
at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)
at java.lang.VMThread.callRun (VMThread.java:124)
at java.lang.Thread.callRun (Thread.java:398)
at java.lang.VirtualMachine.runThread (VirtualMachine.java:137)
Exception during event dispatch:
java.lang.NullPointerException
at javax.swing.JComponent.paintWithOffscreenBuffer (Unknown Source)
at javax.swing.JComponent.paintDoubleBuffered (Unknown Source)
at javax.swing.JComponent.paint (Unknown Source)
at java.awt.Container$GfxPaintVisitor.visit (Container.java:1820)
at java.awt.Container.visitChild (Container.java:1624)
at java.awt.Container.visitChildren (Container.java:1586)
at java.awt.Container.paint (Container.java:772)
at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent
(GtkComponentPeer.java:313)
at java.awt.Component.dispatchEventImpl (Component.java:4850)
at java.awt.Container.dispatchEventImpl (Container.java:1647)
at java.awt.Window.dispatchEventImpl (Window.java:623)
at java.awt.Component.dispatchEvent (Component.java:2342)
at java.awt.EventQueue.dispatchEvent (EventQueue.java:474)
...