org.xnap.util
Class SystemHelper

java.lang.Object
  extended by org.xnap.util.SystemHelper

public class SystemHelper
extends java.lang.Object


Field Summary
static boolean isJDK13orSmaller
          True, if JDK version is smaller than 1.4.
static boolean isMacOSX
          True, if is system is Apple Mac OS X; false, otherwise.
static boolean isWindowsOS
          True, if system is Microsoft Windows; false, otherwise.
static boolean isZigaDllLoaded
          True, if ziga.dll was loaded; false, otherwise. ziga.dll contains support for the Windows system tray and native launch support.
 
Constructor Summary
SystemHelper()
           
 
Method Summary
static javax.swing.KeyStroke getMenuShortcut(int keyCode)
           
static java.lang.String getNativeLauncherType()
          Returns the default launcher for the current operating system.
static boolean hasMacOSXModalDialogBug()
          Returns true, if operating system is Mac OS X and a version below Jaguar (10.2).
static boolean hasMacOSXToolTipsBug()
          Disable tooltips on Mac OS X and JDK 1.3.*.
static void init()
          This method should be invoked at an early stage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isMacOSX

public static final boolean isMacOSX
True, if is system is Apple Mac OS X; false, otherwise.


isWindowsOS

public static final boolean isWindowsOS
True, if system is Microsoft Windows; false, otherwise.


isJDK13orSmaller

public static final boolean isJDK13orSmaller
True, if JDK version is smaller than 1.4.


isZigaDllLoaded

public static boolean isZigaDllLoaded
True, if ziga.dll was loaded; false, otherwise. ziga.dll contains support for the Windows system tray and native launch support.

Constructor Detail

SystemHelper

public SystemHelper()
Method Detail

init

public static void init()
This method should be invoked at an early stage.


getNativeLauncherType

public static java.lang.String getNativeLauncherType()
Returns the default launcher for the current operating system.


hasMacOSXModalDialogBug

public static boolean hasMacOSXModalDialogBug()
Returns true, if operating system is Mac OS X and a version below Jaguar (10.2).


hasMacOSXToolTipsBug

public static boolean hasMacOSXToolTipsBug()
Disable tooltips on Mac OS X and JDK 1.3.*.

See Also:
Apple

getMenuShortcut

public static javax.swing.KeyStroke getMenuShortcut(int keyCode)


Copyright © 2001-2005 XNap Team. All Rights Reserved.