Java project for making a virtual dot