How to selection the elements in an ArrayList?
I make an arrayList to store my objects. And I want every time the user will put the new object, the program will selection the arrayList first. It will see whether the new objects are same with the object inside the arrayList or not. If it is same then that object will not be put into the arrayList and there will be a message. So every time the user press the submit button, it will make selection first. I also save that arrayList in file.
How to make it ?:(sweat):