2

In this Java desktop GUI, the web services communication layer is in Java, the UI is based on a very powerful HTML library providing charting and interactivity.

How do I embed an HTML5 view inside a Java GUI and how to I handle JavaScript communication with it?

An example of how to trigger a JavaScript function, read a DOM property, etc. would help, please.

1 Answer 1

4
  • this isn't possible (without using 3rd party libraries) with plain Swing and Java, because Java6 support Html <= 3.2

  • this could be simple by using JavaFX version2 and higher

  • even JavaFx tutorial to describe about Integrating JavaFX into Swing Applications I'd suggest to create plain JavaFX GUI without usage of Swings API

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.