Posted on 2004-08-27
I have implemented a nice JList with a renderer. I want to have the user clcik on an entry and then edit the text. Here is a snippet of my code:
m_list.setLayoutOrientation( JList.HORIZONTAL_WRAP );
m_list.setCellRenderer( m_cellRenderer );
The list is emulating a file selection screen like windows explorer. Everything works great except i dont know how to edit the name of selected objects. CellEditors seem to be for the other components like JTable - not JList.
any pointers appreciated.