Newbie: works in AWT app?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Chris

Newbie: works in AWT app?

Post by Chris » Mon Jun 17, 2002 7:28 pm

I'm not very familiar with the Java 2D API...but I assume that JFreeChart is usable in an AWT app? In other words, it does NOT require Swing, correct?

David Gilbert

Re: Newbie: works in AWT app?

Post by David Gilbert » Mon Jun 17, 2002 7:53 pm

To be honest I'm not sure how much of JFreeChart relies on Swing, since I've always used Swing and I've never studied where the boundary between Swing and AWT is drawn. Certainly ChartPanel extends JPanel (could it extend Panel?)...apart from that, JFreeChart just needs a Graphics2D, so as long as you can get hold of one of those in AWT you will be OK.

Is there a need for an AWTChartPanel class?

Regards,

DG.

Locked