Monday, September 6, 2004 10:32 PM
If I enable headless support using either/both the System.setProperty("java.awt.headless", "true");
and the -Djava.awt.headless=true option it appears to be set. I can do a System.getProperty("java.awt.headless") and get "true" as a response.
However, the call to isHeadless() returns false still and the java.awt.Graphics calls to create Graphics fail still.
What can be wrong here? How to set the state to headless with JDK 1.4?