Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » jFreeChart(How to get jFreeChart running in e4)
jFreeChart [message #719181] Fri, 26 August 2011 09:39
Andreas Heertsch is currently offline Andreas HeertschFriend
Messages: 6
Registered: October 2010
Junior Member
I tried to get an jFreeChart tutorial example running in e4 (RCP).

But it isn't that easy as I thought.
I get
if I run:

public class View extends ViewPart {
    @Inject //perhaps this statment is nonsens (?)
    public View(Composite parent) {
    public void createPartControl(Composite parent) {
        JFreeChart chart = createChart(createDataset());
        final ChartComposite frame = new ChartComposite(parent,SWT.NONE,chart,true);
    private JFreeChart createChart(PieDataset dataset) {...}
    public PieDataset createDataset(){...}

Any idea or sample code?

[Updated on: Fri, 26 August 2011 09:51]

Report message to a moderator

Previous Topic:How to create a dropdown menu in toolbar?
Next Topic:Ant Script for eclipse e4 application
Goto Forum:

Current Time: Thu May 28 18:10:20 GMT 2020

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

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

Back to the top