Return to Snippet

Revision: 13467
at April 24, 2009 18:08 by resurge


Initial Code
tblTable.setAutoCreateRowSorter(true); //will make the colums sortable
tblTable.setCellSelectionEnabled(false); //will diable the selection of single cells
tblTable.setRowSelectionAllowed(true); //set it so that when you click a row, the entire row will be selected
tblTable.setColumnSelectionAllowed(false); //set it so that you can't select entire columns
tblTable.getTableHeader().setReorderingAllowed(false); //disable the changing of column positions

Initial URL


Initial Description


Initial Title
Java jtable methods

Initial Tags
table, java

Initial Language
Java