com.darwinsys.macosui
Class MacOSUtil

java.lang.Object
  extended bycom.darwinsys.macosui.MacOSUtil

public class MacOSUtil
extends java.lang.Object

Utilities for GUI work.

Version:
$Id: MacOSUtil.java,v 1.11 2004/01/31 01:26:05 ian Exp $

Constructor Summary
MacOSUtil()
           
 
Method Summary
static boolean isMacOS()
          Return true if we are running MacOS; needs a few GUI tweaks if so.
static void setMacOS(java.lang.String appName)
          Set a few common properties for the given application if we are running under MacOS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacOSUtil

public MacOSUtil()
Method Detail

isMacOS

public static boolean isMacOS()
Return true if we are running MacOS; needs a few GUI tweaks if so.


setMacOS

public static void setMacOS(java.lang.String appName)
Set a few common properties for the given application if we are running under MacOS. Usage Example:
	if (MacOSUtil.isMacOS()) {
		MacOSUtil.setMacOS("JabaDex");
	}
 

Parameters:
appName - - the name of the Application.


Copyright © 2000-2003 Ian F. Darwin. See license.html for usage license.