If you want to implements the Windows explorer like feature in Java swing application, the
The JListView.setViewMode” can change the view mode of
The Introduce Cell Renderer” introduce why using the
The
JListView.getSelectedValue(); // get the lead selection value
JListView.getSelectedValues(); // get all selected values
The JListView.isEditing(); // determines whether the JListView.cancelEditing(); // cancel current editing
JListView.stopEditing(); // stop the current editing and apply the editing value
JListView.startEditingAtIndex(); // start the editing at the specified index
JListview.getEditingInex(); // get the current editing object’s index
The com.zfqjava.swing.model and
JListView listView = new JListView();
listView.setListData(new FileTableModel(new File(System.getProperty("user.home"))));
listView.setCellRenderer