found the problem, mypanel.java:47