jreznot / electron-java-app

Electron Java application - What if you could build Desktop applications on Java with HTML 5 UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Development in the IDE

afedulov opened this issue · comments

It would be great to have some description in the REAME about the development process. I can see how I can start the "backend" with the Launcher, but cannot figure out if it is possible to start the UI separately. Is NPM used for that? Is there some Vaadin-specific build goal?

This is extremely wild example for enthusiasts only. It is not recommended for real-life applications.
Please use JCEF or Java FX embeeded web browser instead.

OK, but I am interested to experiment with it and you are somehow assuming my goals. I would appreciate an answer if this is possible at all or not.

It is enough to run npm install once and then start Launcher class from IntelliJ IDEA with Gradle integration enabled.

image

Thanks for the quick reply, Yuriy! Despite being a very niche "wild example for enthusiasts", the project setup demonstrating bundling Java backend into an electron app is very useful. Thanks for that!