Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Render charts in background

796425Nov 5 2012 — edited Nov 13 2012
Hello,

I have an application that is used for data analysis. A big part of the application is the ability to be able to show charts based on the data assembled, and to be able to export a large number of tasks in one batch-operation. Up until now I have used JFreeChart, but I would like to use the native JavaFX Charts. I am on JavaFX 2.2.1 (IIRC).

I am able to generate the charts in one batch, but that means that I have to freeze the User Interface (UI), as these charts have to be rendered on the JavaFX Application Thread.

I have tried using Platform.runLater(), but then I am running into the issue with feedback, as I would also like to update a progress bar throughout the process.

Any suggestions or hints as to how this can be achieved ?
This post has been answered by jsmith on Nov 8 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2012
Added on Nov 5 2012
16 comments
6,052 views