On my win2k system, a call to System.getProperty("awt.toolkit") returns a value of "sun.awt.windows.WToolkit". Where exactly is the "sun.awt.windows.WToolkit" value coming from?

Davanum Srinivas

The System property "awt.toolkit" is used to load alternative Toolkit's if needed. See http://java.sun.com/j2se/1.3/docs/api/java/awt/Toolkit.html for more info.

The default value that you get is used and set by Sun's implementation of JDK. If you use microsoft's JVM then you will get "com.ms.awt.WToolkit" instead.