I am creating a JCEF application.
Instead, running the MainFrame in windowed mode, I am using Full Screen Mode of Java.
Now, There is a Problem. Due to full screen mode of JFrame, I've no title bar, no close button.
Also, I don't want to add a control bar created using Java Swing.
So, How do I close the application?
Alt+F4 does not seem to work also!!
I was thinking, can I detect a click event on a HTML button using javascript in JCEF API?
So, I can close, application programatically?
In simple words, can we invoke Java functions using Javascript?
Sorry, if my question is so dumb. I've just started exploring CEF and JCEF!