Removing Java plot