File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Add JFreeChart to Netbeans Design-View Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Add JFreeChart to Netbeans Design-View" Watch "Add JFreeChart to Netbeans Design-View" New topic
Author

Add JFreeChart to Netbeans Design-View

frank braunstein
Ranch Hand

Joined: Dec 17, 2009
Posts: 60
Hello,
I think the subject is quite self-explanatory. I want to place several "ChartPanel"s from the Netbeans-palette into the Design-view. I already tried to add "org.jfree.chart.ChartPanel" as a palette-bean, but there is no "ChartPanel" appearing in the Design-view, just after hitting the "ok"-button there is a bean at the mouse-cursor that disappears after clicking.

Is it ever possible to add a JFreeChart-component or do i have to code this part of the program from hand?
frank braunstein
Ranch Hand

Joined: Dec 17, 2009
Posts: 60
frank braunstein wrote:Hello,
I think the subject is quite self-explanatory. I want to place several "ChartPanel"s from the Netbeans-palette into the Design-view. I already tried to add "org.jfree.chart.ChartPanel" as a palette-bean, but there is no "ChartPanel" appearing in the Design-view, just after hitting the "ok"-button there is a bean at the mouse-cursor that disappears after clicking.

Is it ever possible to add a JFreeChart-component or do i have to code this part of the program from hand?


Ok, since anyone has replied yet, i can freely conclude, that there's no one out here in this Forum who can give me a clue?
frank braunstein
Ranch Hand

Joined: Dec 17, 2009
Posts: 60
I did implement all frames necessary by configuring a new Frame for each click.
sha junxing
Greenhorn

Joined: Apr 21, 2010
Posts: 1
I tried too these days but I am afraid it is impossible. Because many jfreechart classes don't fit the javabean standard. They don't have an empty parameter comstructor. and many important properties don't have setter. It's really an ugly design.
frank braunstein
Ranch Hand

Joined: Dec 17, 2009
Posts: 60
sha junxing wrote:I tried too these days but I am afraid it is impossible. Because many jfreechart classes don't fit the javabean standard. They don't have an empty parameter comstructor. and many important properties don't have setter. It's really an ugly design.


So, the only option is to write from scratch. Ok thanks for your post. im not alone with this.
 
 
subject: Add JFreeChart to Netbeans Design-View
 
Threads others viewed
eclipse design view
I am not able to display panel in my applet by embedding applet in html. Please help.
yet another jLabel
place component in the centre of polar chart
JTable - can different rows be set to different colors?
MyEclipse, The Clear Choice