bug-classpath
[Top][All Lists]
Advanced

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

[Bug swing/23537] New: Garbled and unusable GUI under Swing (javax.swing


From: classpath at zorglub dot s dot bawue dot de
Subject: [Bug swing/23537] New: Garbled and unusable GUI under Swing (javax.swing.JLayeredPane?)
Date: 23 Aug 2005 17:37:24 -0000

Hi,

my request is a bit fuzzy and I apologize for this but I hope someone can help
me further.

I managed to compile FreeMind (Version 0.7.1 as packaged by myself for Debian
Sarge, i386) with free-java-sdk (combination of jikes and sablevm 1.11.3), and
the result even does run properly under Sun's JRE.

But trying to make it run under free-java-sdk (aka sablevm) as well as kaffe
1.1.5 with something like:
$ JAVA_HOME=/usr/lib/fjsdk PATH=/usr/lib/fjsdk/bin:$PATH freemind
does bring a completely garbled GUI (no icons, menus looking weird,
etc..., see
http://eric.lavar.de/comp/linux/debian/dump/free/freemind_free_java.png) and if
I try to create a new map, it fails, the GUI is blocked and
I get the following output:

$ JAVA_HOME=/usr/lib/fjsdk PATH=/usr/lib/fjsdk/bin:$PATH freemind

[...]
Warning: the font you have set as standard - SansSerif - is not available.
update UI not overwritten in class:
javax.swing.JLayeredPane[0,0,0x0,invalid,translucent,alignmentX=0.0,alignmentY=0.0,border=,maximumSize=java.awt.Dimension[width=2147483647,height=2147483647],minimumSize=java.awt.Dimension[width=0,height=0],preferredSize=java.awt.Dimension[width=0,height=0]]
[... here I press the "New map" button ...]
Exception during event dispatch:
java.lang.NullPointerException
   at freemind.view.mindmapview.NodeView.addDragListener (NodeView.java:111)
   at freemind.view.mindmapview.NodeView.NodeView (NodeView.java:105)
   at freemind.view.mindmapview.RootNodeView.RootNodeView
(RootNodeView.java:39)
   at freemind.view.mindmapview.NodeView.newNodeView (NodeView.java:126)
   at freemind.view.mindmapview.MapView.initRoot (MapView.java:119)
   at freemind.view.mindmapview.MapView.MapView (MapView.java:104)
   at freemind.controller.Controller$MapModuleManager.newMapModule
(Controller.java:601)
   at freemind.modes.ControllerAdapter.newMap (ControllerAdapter.java:218)
   at freemind.modes.ControllerAdapter$NewMapAction.actionPerformed
(ControllerAdapter.java:1465)
   at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:695)
   at javax.swing.AbstractButton$1.actionPerformed (AbstractButton.java:1491)
   at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:296)
   at javax.swing.DefaultButtonModel.changeState
(DefaultButtonModel.java:357)
   at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:408)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:185)
   at java.awt.Component.processMouseEvent (Component.java:3050)
   at java.awt.Component.processEvent (Component.java:2911)
   at java.awt.Container.processEvent (Container.java:841)
   at java.awt.Component.dispatchEventImpl (Component.java:4767)
   at java.awt.Container.dispatchEventImpl (Container.java:1539)
   at java.awt.Component.dispatchEvent (Component.java:2276)
   at java.awt.LightweightDispatcher.handleEvent (Container.java:1997)
   at java.awt.Container.dispatchEventImpl (Container.java:1528)
   at java.awt.Window.dispatchEventImpl (Window.java:621)
   at java.awt.Component.dispatchEvent (Component.java:2276)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:517)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)
   at java.lang.VMThread.callRun (VMThread.java:119)
   at java.lang.Thread.callRun (Thread.java:397)
   at java.lang.VirtualMachine.runThread (VirtualMachine.java:137)

I reported the bug on the Java Debian list and was told to report it here, so I 
do.
I've read that you don't need the code but here it is in any case:
http://eric.lavar.de/comp/linux/debian/dump/free/

I'd be happy if you could help me.

Thanks, Eric

-- 
           Summary: Garbled and unusable GUI under Swing
                    (javax.swing.JLayeredPane?)
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: swing
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: classpath at zorglub dot s dot bawue dot de
                CC: bug-classpath at gnu dot org


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




reply via email to

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