Class Jdk9Application


  • class Jdk9Application
    extends Application
    Wrapper for Apple provided extensions to Java that allow Java apps to feel more "Mac-like" on Mac OS X for JDK 9.

    NOTE All use of this class must be wrapped in a conditional test that ensures that JMRI is not running on Mac OS X or in Try-Catch blocks. The easiest test is:

    
     if (SystemType.isMacOSX()) {
         ...
     }
     
    A Try-Catch block will need to catch NoClassDefFoundError Failure to use one of these methods will result in crashes.
    See Also:
    Application