step5: solved communication bug with JApplet