-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
beta
-
generic
-
generic
In the new Headless API, there is a static method isHeadless() on the
GraphicsEnvironment class. The original design of the GraphicsEnvironment
class anticipated being able to access GEs from several different machines,
not just the local GE. GE should have an instance method similar to the
isHeadless() method. The static isHeadless() method should be documented
as being equivalent to calling the instance method on the local environement,
i.e. GraphicsEnvironment.getLocalGraphicsEnvironment(). Since neither the
static or instance methods have any arguments, the instance method will have
to have a different name.
GraphicsEnvironment class. The original design of the GraphicsEnvironment
class anticipated being able to access GEs from several different machines,
not just the local GE. GE should have an instance method similar to the
isHeadless() method. The static isHeadless() method should be documented
as being equivalent to calling the instance method on the local environement,
i.e. GraphicsEnvironment.getLocalGraphicsEnvironment(). Since neither the
static or instance methods have any arguments, the instance method will have
to have a different name.