import java.awt.GraphicsEnvironment; ... // true if missing keyboard, mouse or screen. // false if full keyboard, mouse and GUI screen support available. boolean barebones = GraphicsEnvironment.isHeadless();You can simulate a headless environment by setting the java.awt.headless system property:
-Djava.awt.headless=true
This page is posted |
http://mindprod.com/jgloss/headless.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\headless.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.137.169.215] |
| |
Feedback |
You are visitor number | |