I need to get my jlist to simply display a one word subject.
When I do it the way below, it obviously prints: "subject: blah location: blah date: blah path: blah."
How can I get to set an JList to simply display the string title of the picture rather than an object[].
itemList.setListData(theList.getArray());
Users will be adding photos to the album and I want it to only display their photo name.
I tried
itemList.add(ss, null)