Jump to content

DefaultListModel


Daviyow

Recommended Posts

Hi guys, im new to GUI and i cant seem to get this working.;

 

 

im trying to set my jList to model DefaultListModel so i can use list.addElement

    public DefaultListModel<String> availableDropsModel = new DefaultListModel();

7FvmO.png

 

But i cant seem to get it working help pls!

 

Its for 2 lists and a button, 1 list should have text, and the button must pass it to the other list.

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...