David has posted 17 posts at DZone. You can read more from them at their website. View Full User Profile

FXGraphics2D - A bridge from Java2D to JavaFX

07.31.2014
| 760 views |
  • submit to reddit

FXGraphics2D 1.1 is now available to download.  Use it to create graphical output on a JavaFX Canvas using existing Java2D-based code.  It allows you to leverage mature Java libraries in new JavaFX applications (for example, JFreeChartOrson Charts and JLaTeXMath amongst others), and can save you a lot of time when migrating Swing applications to JavaFX.

In the following screenshot, FXGraphics2D is used to render 3D charts from the Orson Charts library:



0
Published at DZone with permission of its author, David Gilbert.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)