Beans.isGuiAvailable

Beans.isGuiAvailable

Class Overview | Class Members | This Package | All Packages

Syntax
public static boolean isGuiAvailable()
Returns
True if we are running in an environment where beans can assume that an interactive GUI is available, so they can pop up dialog boxes, etc. This will normally return true in a windowing environment, and will normally return false in a server environment or if an application is running as part of a batch job.