adding to jPanel via code after init (jFreeChart)
"Chandana Napagoda" <[email protected]> Thu, 14 Feb 2008 13:28:56 +0530
| Newsgroups | gmane.comp.java.netbeans.education |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_692_26809316.1202975936442 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am using netbeans 5.5 I am attempting to run the following jFreeChart demo but in netbeans. Original demo located here: http://www.java2s.com/Code/Java/Chart/JFreeChartPieChartDemo7.htm Instead of programically creating the jPanel like the demo does, i would like to do it using the netbeans GUI and then add the code to create the jFreeChart.In netbeans i create a new project, create a new jFrame and place a new jPanel on the form and add the JTabpane in to Jpanel. After that I add two Jpanel in to Jtabpanes. that one of Jpane i want to Show chart using Jfreecharts. I try to do it. But it never show my Tabpane and Charts. it open new Jframe and show charts. But I want to show that Charts in the Jpanel. If Any one know how to do it. If u can reply this. Thank you.. ------=_Part_692_26809316.1202975936442 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am using netbeans 5.5 <br><br>I am attempting to run the following jFreeChart demo but in netbeans. <br>Original demo located here: <a href="http://www.java2s.com/Code/Java/Chart/JFreeChartPieChartDemo7.htm" target="_top" rel="nofollow">http://www.java2s.com/Code/Java/Chart/JFreeChartPieChartDemo7.htm</a><br><br>Instead of programically creating the jPanel like the demo does, i would like to do it using the netbeans GUI and then add the code to create the jFreeChart.In netbeans i create a new project, create a new jFrame and place a new jPanel on the form and add the JTabpane in to Jpanel. After that I add two Jpanel in to Jtabpanes. <br><br>that one of Jpane i want to Show chart using Jfreecharts. I try to do it. But it never show my Tabpane and Charts. it open new Jframe and show charts. But I want to show that Charts in the Jpanel. <br><br>If Any one know how to do it. If u can reply this. <br>Thank you..<br clear="all"><br> ------=_Part_692_26809316.1202975936442--