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

java.awt.GraphicsEnvironment.isHeadless() needlessly requires a mouse

XMLWordPrintable

    • Cause Known
    • generic
    • generic

      Various methods say they don't work if "isHeadless"
      returns true. Obviously, "isHeadless" is supposed to
      mean that there's no display or input device, but the
      normative text of GraphicsEnvironment.isHeadless says something
      different:

          Tests whether or not a display, keyboard, and mouse can
          be supported in this environment.


      There are many devices that feature a display, but that can't
      support a keyboard or a mouse. For example, a Television set top
      box will have a remote control and nothing else, but a set top
      is clearly not headless. Neither is a mobile phone with just
      a numeric keypad.



      ###@###.### 2005-2-25 01:23:10 GMT

            art Artem Ananiev (Inactive)
            bfootesunw Bill Foote (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: