A client-server based voting system written in Java