Sin 0 Share Posted October 30, 2015 Need to transfer from JList 1 to JList 2. Stuck on swing stuff atm. anyone care to help? Link to comment Share on other sites More sharing options...
RealEngine 24 Share Posted October 30, 2015 getselectedindex or somehting, if button press, remove from 1, add to 2 Link to comment Share on other sites More sharing options...
Dreamlicker 749 Share Posted October 30, 2015 remove the element from the underlying model and add it to the other one. you have ur DefaultListModel<Things> thingo so thingo.getSelectedItem() is added to the other one and removed from the one its in Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.