java swing application for selling tickets in theatre