Swing in JavaFX demo
November 16, 2011 3 Comments
In the last days, I fixed some focus issues and improved painting for the SwingView and today put together a little demo that shows a JavaFX TabPane, with part of the famous SwingSet2 demo in one tab and a little JavaFX demo in the other. You will notice that the SwingView is a little slow, that’s because of the way we paint Swing components into JavaFX scene, which is very far from optimal. More to that in a later post. For now, enjoy the demo.

Advertisement



Doesn’t run on a Mac .. FYI — has browser issue.
Yep, JavaFX support on Mac is not very good so far, and even on Windows the browser plugin kindof sucks… I had a few occasions where it just did not work until I reinstalled (manually) JavaFX runtime.
Pingback: How the SwingView works – painting « Roman Kennke's Blog