Search found 3 matches

by harrierpark
Sat May 31, 2008 11:58 am
Forum: JFreeChart
Topic: Display JFreeChart inside a panel
Replies: 17
Views: 24098

I added a .removeAll button. It works fine clearing the .add(label) from the panel but the chart still does not appear. BTW, repeatedly adding the label simply wrote on top of the existing label. The Panel's preferred size is set to width 600 height 400, large enough for the chart to be noticed. The...
by harrierpark
Fri May 30, 2008 7:22 pm
Forum: JFreeChart
Topic: Display JFreeChart inside a panel
Replies: 17
Views: 24098

Skunk, No, it does not work with JButtons, (or JCheckBox). So I sent an email to Sun. I will post the reply. Any other suggestions? Thanks.
by harrierpark
Thu May 29, 2008 5:19 pm
Forum: JFreeChart
Topic: Display JFreeChart inside a panel
Replies: 17
Views: 24098

ChartPanel does not appear in JFrame

I am also trying to display a chart in a JPanel; so far without luck. Reading the preceding posts and reviewing the JFreeChart documentation did not produce an answer. Using NetBeans 6.1, I created a simple 3 panel frame (header, side and main) and placed 3 buttons in the side panel. One button is a...