Search found 3 matches
- Fri Jul 16, 2010 4:10 pm
- Forum: JFreeChart
- Topic: How to make a chart appear in a GUI (not in external panel)
- Replies: 4
- Views: 8341
Re: How to make a chart appear in a GUI (not in external panel)
I've done it. Gives me some errors but at least it works. Will deal with the errors later. EDIT: now it works :) Thanks for the detailed instructions pooo. For anyone that needs something similar: after a veeery long time I have managed to find a great example: http://www.java2s.com/Code/Java/Chart/...
- Fri Jul 16, 2010 11:24 am
- Forum: JFreeChart
- Topic: How to make a chart appear in a GUI (not in external panel)
- Replies: 4
- Views: 8341
Re: How to make a chart appear in a GUI (not in external panel)
I have done what you've said. But it doesn't seem to work (unless I have misunderstood and done something stupid). I've tried the following: - removed extends Application Frame - instead I extended as JFrame - changed and extended as JPanel - removed extends In each case I have tried to modify the c...
- Thu Jul 15, 2010 3:04 pm
- Forum: JFreeChart
- Topic: How to make a chart appear in a GUI (not in external panel)
- Replies: 4
- Views: 8341
How to make a chart appear in a GUI (not in external panel)
Hi, I have a JFrame. In that JFrame I have a JPanel. In the JPanel I have JTextFields and a JButton. I take the values from the JTextFields and then press the JButton. As a result a chart is generated. The graph is created in an external panel. I want it to appear in the same panel as the text field...