Relates :
|
The javadoc for the java.awt.Toolkit getDefaultToolkit() method claims: ---------------------- If there is no "java.awt.headless" or it is set to false and there is a system property named "awt.toolkit", that property is treated as the name of a class that is a subclass of Toolkit; otherwise the default platform-specific implementation of Toolkit is used. ---------------------- It should be reconsidered is this property still useful after the modularization updated in JDK 9. Se also Removing all methods that use the AWT peer types in JDK 9 email: http://mail.openjdk.java.net/pipermail/awt-dev/2015-February/008924.html