How can you get a JList to simple display a one word string.
I know the method of JList.setListData(Object[]);
I have an object[], but it is multiple lines of information and it looks weird in the list display.
How can I get an Object[] to simply display the first line of the array?