Update Frame.java

added comments