JavaVue is provides a bridge between a Java application and Vue.
If you use this plugin, please give it a 5-star rating on the IntelliJ site. It will make us very happy and will encourage us to work even harder.
JavaVue embeds a web browser running Vue components inside a Java application. It provides methods and framework for the Java runtime to interact with the Vue components.
This speeds up development of your frontend.
You also benefit by leveraging CSS and JavaScript.
Your efforts are also reusable on a web server, node, and any web browser.
JavaVue uses JavaFX to create an embedded web browser.
Most frameworks require all interaction with the user interface to be invoked on a dedicated thread. Because Swing and JavaFX each have their own UI thread, it is very important to make sure calls are invoked on the proper thread.
All calls received from Vue are on the JavaFX thread. To call back into Swing, you must put your code in:
To call into Vue from Swing, you must put your code in:
You can request new features and report bugs by emailing info@twelvetone.tv