Hi I have to pick an element from a JList to another, removing it from the first
The method I've created inserts only one element, overwriting the last one and doesn't remove the selected item from the first JList
Here's …
I have a JList, where i am displaying some ID's. I want to capture the ID the user clicked and dis play it on a JLabel.
String selected = jlist.getSelectedItem().toString();
The above code gives me the selected JList value. …