I change the code, PONG game works. But there is a new problem, the hit score and misses score must show in the title bar of frame. mp.setTitle("Pong Demo"+"hit="+hit+"misses:"+misses); cannot show the score. The problem is that I cannot send the hit and misses variable to the frames. when they change.
[ May 27, 2008: Message edited by: max wang ] [ May 27, 2008: Message edited by: max wang ]