Well, you should not be adding "components" to the "list", you need to add "data" to the "model". So the first thing you need to do is use a ListModel that can be changed dynamically, such as the DefaultListModel. So you need to change: