Chess game using Java Swing library