I'm quite new to Java and I know that the best way to learn is to have personal projects to work on. I've been working on a clipboard manager that keep a history of what the user copies.
I managed to do what I wanted when the user copies some text, the data is stored in a arraylist. My problem comes from the GUI ,I've tried several things but I can't manage to display the data of the ArrayList.
My problem is that I don'T know exactly where to create the GUI, in the main class or in the Thread that does all the doing? secondly since the data keeps adding whenever the user copies, the list has to be updated in real time to display the content of the list is there any way to achieve that ? Any tips would be appreciated
I managed to do what I wanted when the user copies some text, the data is stored in a arraylist. My problem comes from the GUI ,I've tried several things but I can't manage to display the data of the ArrayList.
My problem is that I don'T know exactly where to create the GUI, in the main class or in the Thread that does all the doing? secondly since the data keeps adding whenever the user copies, the list has to be updated in real time to display the content of the list is there any way to achieve that ? Any tips would be appreciated