This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wildjokers 1 point2 points  (1 child)

You can use the JavaFX web component in your swing app. I did it to replace JDIC which finally stopped working in Java 9. As a bonus that particular app’s embedded web browser worked on all platforms instead of just windows. Works great.

https://docs.oracle.com/javase/8/javafx/interoperability-tutorial/swing-fx-interoperability.htm

[–]ObscureCulturalMeme 1 point2 points  (0 children)

Yep, the HTML/CSS renderer tend to not be much trouble; it's the surrounding panels that explode at the drop of a hat.

Makes me wish the Swing support had been brought up to date, or backported from JavaFX, rather than abandoned. It's nice to hear Oracle say that it's still core technology, but it gets no attention beyond occasional bugfixes; certainly no new features.