Menu

#20 JFrame example does not work on linux

open
nobody
None
5
2004-12-15
2004-12-15
Anonymous
No

I have downloaded the latest version of JOpenChart from
sourceforge (v.0.94)
The following command generates the stack trace shown
on a Suse 9.1 Linux
machine running java 1.4. The same command (after
changing the colon in the
claspath for a semi-colon) run against the same files.
I would like to use
your framework, but with this bug I can not. Do you
have any ideas for a
workaround, or any suggestions as to a cause?

Thanks

Chris

java -cp charting-0.94.jar:jep.jar
de.progra.charting.test.GraphFrame

java.lang.NullPointerException
at
javax.swing.SwingUtilities.computeDifference(SwingUtilities.java:418)
at
javax.swing.JComponent.reshape(JComponent.java:3502)
at
java.awt.Component.setBounds(Component.java:1664)
at
java.awt.BorderLayout.layoutContainer(BorderLayout.java:691)
at java.awt.Container.layout(Container.java:1020)
at java.awt.Container.doLayout(Container.java:1010)
at
java.awt.Container.validateTree(Container.java:1092)
at
java.awt.Container.validateTree(Container.java:1099)
at
java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validate(Container.java:1067)
at
javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353
)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQu

Discussion


Log in to post a comment.

Monday.com Logo