In addition to the MRJAboutHandler and MRJQuitHandler present
in the previous release of Java, this release includes the MRJPrefsHandler.
This allows your Java application’s preferences panel to be opened
from the Application Menu. To take advantage of this additional
functionality you need to:
com.apple.mrj.MRJPrefsHandlerMRJPrefsHandler interfacehandlePrefs() method with
a return type of void.
This method will be called when a user selects About YourApplicationName from
the Application Menu. In this method you should display your preferences
panel.The MRJPrefsHandler behaves
like the MRJAboutHandler and
the MRJQuitHandler. Examples of
their usage can be found in a new Project Builder Java Swing Application.