Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4405683

should have isHeadless() method on each GraphicsEnvironment instance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • 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.

            mmartaksunw Michael Martak (Inactive)
            jrevans Jerald Evans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: