Create VirtualHat.java