Visual Editor / JFreeChart integration [message #145243] |
Fri, 27 June 2008 18:10 |
Eclipse User |
|
|
|
Originally posted by: purushgupta.gmail.com
Hi, I am looking to display a graph in my RCP application which is
designed using Visual Editor and having trouble and get following errors.
Appreciate if you can point me in right direction.
Thanks,
PG.
Exception in thread "main" org.eclipse.swt.SWTException: Unable to load
graphics library [GDI+ is required] (java.lang.NoClassDefFoundError: Could
not initialize class org.eclipse.swt.internal.gdip.Gdip)
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.graphics.Device.checkGDIP(Device.java:176)
at org.eclipse.swt.graphics.GC.initGdip(GC.java:3261)
at org.eclipse.swt.graphics.GC.setAntialias(GC.java:3499)
at
org.jfree.experimental.chart.swt.ChartComposite.paintControl (ChartComposite.java:1814)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:83)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:12 85)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3299 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025 )
at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.j ava:1348)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1481)
at org.eclipse.swt.widgets.Shell.open(Shell.java:1008)
at
org.eclipse.ve.internal.java.vce.launcher.remotevm.RCPLaunch er.runEventLoop(RCPLauncher.java:223)
at
org.eclipse.ve.internal.java.vce.launcher.remotevm.RCPLaunch er.launch(RCPLauncher.java:126)
at
org.eclipse.ve.internal.java.vce.launcher.remotevm.JavaBeans Launcher.main(JavaBeansLauncher.java:70)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.eclipse.swt.internal.gdip.Gdip
at org.eclipse.swt.graphics.Device.checkGDIP(Device.java:172)
... 18 more
|
|
|
Powered by
FUDForum. Page generated in 0.04220 seconds