A lot of the actual window handling is buried inside of the AWT code (since it does require a JNI interface to make it work with the local machine). Because Java's main focus is code re-use, almost...