In my current programme I have a class named Subject.class. When the User clicks at it, they have to enter a String which is then saved as a variable and written on the image of the Object that has been clicked on. How can I manage to make sure that the person does not enter the same String for two different Objects without having to create static booleans becoming true for every possible String being entered?
