Example #1
0
 private void storeColumnWidthsInPrefs(JTable tbl) throws PreferencesException {
   PreferencesUtils.putIntegerList(
       this.prefs, PREFS_NODE_SELECTEDFIELDWIDTHS, CollectableTableHelper.getColumnWidths(tbl));
 }
Example #2
0
 /** stores the order of the columns in the table */
 private void storeColumnOrder(JTable tbl) throws PreferencesException {
   this.storeSelectedFieldNamesInPrefs(CollectableTableHelper.getFieldNamesFromColumns(tbl));
 }