Swing in JavaFX demo

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.

Swing in JavaFX demo

About Roman Kennke
JVM Hacker, Principal Software Engineer at Red Hat's OpenJDK team, Shenandoah GC project lead, Java Champion

4 Responses to Swing in JavaFX demo

  1. Mike Tallent says:

    Doesn’t run on a Mac .. FYI — has browser issue.

    • Roman Kennke says:

      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.

  2. Pingback: JavaFX links of the week, November 21 // JavaFX News, Demos and Insight // FX Experience

  3. Pingback: How the SwingView works – painting « Roman Kennke's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: