Question: jlist how to add item?
Answer: String[] ar = {"one", "two", "three"}; JList list = new JList(ar); However, JList has no method to add or delete items once it is initialized. Instead, if you need to do this, you must use the ListModel class with a JList.