Tried out Java 7. Failed. Added interface for click listeners