Search found 2 matches

by moddinati
Tue Jun 24, 2008 6:11 pm
Forum: JFreeChart
Topic: Adding chart into JPanel
Replies: 4
Views: 6055

Thanks for the reply paradoxoff. From what I read, if I understand it correctly, is that jfreechart uses the flowlayout, and I'm trying to put it in the GoupLayout. I thought my code would take care of that fine. The one thing I noticed in the javadocs is that it uses the .addComponent method where ...
by moddinati
Mon Jun 23, 2008 10:56 pm
Forum: JFreeChart
Topic: Adding chart into JPanel
Replies: 4
Views: 6055

Adding chart into JPanel

I'm trying to add a chart into an existing JPanel in Java. The following code will run and compile fine, but it gives me a page worth of errors. here is the code I use to insert my ChartPanel into my JPanel JPanel tempPanel = new JPanel(); //Clears out the JPanel panelINhistogram.removeAll(); panelI...