add java code of game demo(just an starup of panel)