added java gui