News for hackers. Stuff that matters.
Re:JDeploy – Deploy desktop Java apps as native bundles on M... by helsinkiandrew on Tuesday February 15, 2022 @01:58AM (#30343579)
A bugbear of mine having to use a couple of Java apps on my Mac is the non native window support.

Do JBundle'd apps support native full screen size (not just expanding to fill the size of the screen, which allows other app windows to appear in front/behind), and native keyboard shortcut behaviour?

Re:JDeploy – Deploy desktop Java apps as native bundles on M... by lf-non on Tuesday February 15, 2022 @02:59AM (#30343879)
This is more of a GUI concern, and I wouldn't expect a bundler like JDeploy to be able to do something about this.

An appropriate GUI toolkit should be able to integrate with the native fullscreen.

I briefly used the webview for java library [1] and it does the right thing because the browser handles it. JavaFX also supports [2] native fullscreen if appropriate integration is used. Not sure about Swing/AWT etc.

[1] https://github.com/shannah/webviewjar

[2] https://docs.oracle.com/javase/8/javafx/api/javafx/stage/Sta...

Re:JDeploy – Deploy desktop Java apps as native bundles on M... by aww_dang on Tuesday February 15, 2022 @02:56AM (#30343869)
SWT offers native UI support for Java apps, but the developer has to integrate it.

https://www.eclipse.org/swt/