Create AppletFunction.java