java - install4j 7 - handleQuit() in Mac OSX not getting called anymore -
we updated our install4j version 7 (7.0.1), deliver our application platforms, including mac osx.
on mac osx, respond menu shows @ top of desktop registering wtih com.apple.eawt.applicationlistener. when user chooses quit application through menu, call our handlequit() method.
with recent upgrade install4j 7 (and 7.0.1), no longer receiving call handlequit(). result, not able quit application on os x.
this used work correctly prior install4j 7. known issue in install4j 7 , there workaround issue?
with install4j 7, cannot use deprecated application.getapplication().addapplicationlistener()
in macos eawt api anymore, have use new api methods:
application.getapplication().setquithandler((quitevent, quitresponse) -> { quitresponse.cancelquit(); // todo add code });
Comments
Post a Comment