Class Application

  • Direct Known Subclasses:
    Jdk9Application

    public abstract class Application
    extends java.lang.Object
    Wrapper for Apple provided extensions to Java that allow Java apps to feel more "Mac-like" on Mac OS X.

    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:
    Jdk9Application