Explanation:

getField provides a way for the Java program to "grab" a field from the Script node of the VRML file. Its argument must match exactly with the name of the field in the Script node of the VRML file, or your world will not function correctly.