Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Visual Editor / JFreeChart integration
Visual Editor / JFreeChart integration [message #617231] Fri, 27 June 2008 22:10
Eclipse UserFriend
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
Previous Topic:Visual Editor / JFreeChart integration
Next Topic:Re: Visual Editor?
Goto Forum:
  


Current Time: Tue Apr 23 09:29:26 GMT 2024

Powered by FUDForum. Page generated in 0.02787 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top