When using JPanel for charts: you first create panel (P), then add the chart created previously to the panel (P) and then set the dimensions of the panel or do some graphic stuff for the panel, and finally add the panel to the object where it is being created.
Now in main(): you add the object to the frame which is created before. Then you can observe the chart displayed graphically
Thursday, September 11, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment