Very slow JList repopulation
I have a JList component which should be emptied and repopulated. The following code (based on my original code) shows a simple window with a JList and a JButton: import java.awt.BorderLayout; import javax.swing.*; public class JListTest extends javax.swing.JFrame{ JList jList; JButton button; DefaultListModel model; ...