This is purely theoretically at the moment, I'm just curious, if it could be done, how much work would it be?
I'm not very comfortable with Swing or any other form of built-in GUI I know of for
Java, but I am very comfortable with JavaScript, HTML, and CSS so I thought to myself, "What if I could combine the two?" and after doing some looking and thinking, I think it would be possible, but I don't know if there is anyway the Web languages could communicate with the Java.
Obviously, if I wanted to, I could create my own web browser using java (at least I think), but that would be way too much work for me, and why do that when there are perfectly good ones?
The problem is that I don't know enough about Java or Javascript. Which is why I am here.
Can I send info from client-side Java to client-side Javascript? I don't want to have to upload it to a server; I'd like to just be able to execute my Java program and have it open a web browser and display the HTML/CSS/JS GUI that is run by my Java program.