Search found 8 matches

by canerandagio
Mon Feb 11, 2019 4:57 pm
Forum: JFreeChart
Topic: How to use JFreeChart with SWT (includes sample code)
Replies: 27
Views: 236839

Re: How to use JFreeChart with SWT (includes sample code)

Hi!There isn't a method new_panel for SWT_AWT. I'm using org.eclipse.swt.gtk.linixx86_64_3.108etc...
by canerandagio
Mon Feb 11, 2019 10:46 am
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16759

Re: setContentPane miss

I reiterate that setContentPane is a method of javax.swing.JFrame class, it is written here http://www.jfree.org/jfreechart/api/jav ... Frame.html
by canerandagio
Sat Feb 09, 2019 6:44 pm
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16759

Re: setContentPane miss

Ok thanks, i ll try on monday
by canerandagio
Fri Feb 08, 2019 7:36 pm
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16759

Re: setContentPane miss

The most recent version i found is 1.0.19
by canerandagio
Fri Feb 08, 2019 6:54 pm
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16759

Re: setContentPane miss

I've checked, i have both jfreechart-1.0.19.jar and jcommon-1.0.23.jar :roll: :roll:
are there others solutions?
by canerandagio
Fri Feb 08, 2019 3:40 pm
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16759

Re: setContentPane miss

From http://www.jfree.org/jfreechart/api/jav ... Frame.html it say that it is under javax.swing.JFrame. :roll: and I 've not org.jfree.chart.ui,* in my library :roll: :?: :?:
by canerandagio
Fri Feb 08, 2019 9:43 am
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16759

Re: setContentPane miss

are u sure setContentPane is a method of JfreeChart class? i found it here https://docs.oracle.com/javase/6/docs/a ... Frame.html
it seems that it is a method of swing.
by canerandagio
Thu Feb 07, 2019 5:52 pm
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16759

setContentPane miss

Code: Select all

setContentPane( chartPanel );
I got error The method setContentPane(ChartPanel) is undefined for the type registro_spesa
I have /home/andrea/java/jfreechart-1.0.19/lib/jfreechart-1.0.19.jar imported in my project