Problems with SWT

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
swperman
Posts: 4
Joined: Mon Aug 13, 2007 9:09 pm

Problems with SWT

Post by swperman » Thu Aug 16, 2007 7:20 pm

I'm trying to open a new window with a JFreeChart plot, from a swt rcp application, but when I just instantiate an object, it says: "An error has occured. See error log for more details." I look in Eclipse's error log and there's nothing (I'm opening the app from inside Eclipse). I tried to debug and it doesn't even instantiate it: it goes to some InvocationTargetException... anyway. I tried already before with JMathPlot, and it worked, and I think it's also in awt... So, should I do something special (some kind of swt - awt conversion) to make the call to JFreeChart? What is more weird is that I don't even give drawing window-create commands, I just try to instantiate an empty object! And there's no contructor either... If anyone can help, please... =)

scar
Posts: 8
Joined: Wed Mar 21, 2007 12:43 pm
Location: Netherlands

Post by scar » Fri Aug 17, 2007 6:18 am

Try a forum-search on RCP or SWT.

There are topics with (minimal) source examples.

HTH,
scar

Locked