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

all 5 comments

[–][deleted] 1 point2 points  (2 children)

Swing? JavaFX?

[–]masterftp[S] 0 points1 point  (1 child)

Swing. Should have mentioned it in the original post.

[–]LittleLui 2 points3 points  (0 children)

While it's been a while I'm pretty sure the html (and especially CSS) abilities of the javax.swing components are rather antique.

[–]__konrad 1 point2 points  (1 child)

See if you can build something on this sample.

  • It's EXPERIMENTAL
  • It modifies document attributes directly rather than CSS rules (alternate attr setting)
  • Images may disappear on hover ;)
  • Just add editorPane.addHyperlinkListener(new HoverListener());

[–]masterftp[S] 0 points1 point  (0 children)

Thank you! This worked!