OS/X GUI applications
Michael Hall
mik3hall at gmail.com
Wed Dec 28 15:11:46 UTC 2022
I was wondering for some reason what version of the Scene Builder application I had. There was no application “About” menu item.
I noticed one of my own applications did have this but I didn’t remember how.
I finally noticed on my jpackage options I was still using…
-Dcom.apple.mrj.application.apple.menu.about.name=HalfPipe
Which I assume is enabling the feature.
I also include…
-Dapple.laf.useScreenMenuBar=true -Dapple.awt.application.name=HalfPipe
I am aware the jdk has replaced or eliminated some of this but I didn’t think still including them would cause any problems and more or less forgot they were there.
Is it the intention to continue supporting any of these old Apple properties? Or are they planned to all be eliminated?
I verified java.awt.Desktop does include…
void setAboutHandler(AboutHandler aboutHandler)
Which I would assume is the cross platform preferred and supported way of doing this. Although a bit more work to provide your own window.
If java.awt,Desktop is still the preferred support encapsulating this platform specific functionality will javaFX at some point provide similar?
This is possibly not the correct list for this. I suppose I should raise the question on the javaFX list as well as that it would be nice if SceneBuilder did have an ‘about’ menu item to check the version you have installed.
More information about the client-libs-dev
mailing list