Commits

Anonymous committed 87acebc

Do not allow the the columns to be re-ordered

Comments (0)

Files changed (1)

src/main/java/org/nrg/upload/ui/SessionReviewPanel.java

 		final JTable table = new JTable(tableModel);
 		final JScrollPane scrollPane = new JScrollPane(table);
 		table.setFillsViewportHeight(true);
+		table.getTableHeader().setReorderingAllowed(false);
 		return scrollPane;
 	}
 	
 			for (final Series series : study.getSeries()) {
 				seriesList.add(series);
 				final String description = series.getSampleObject().getString(Tag.SeriesDescription);
-				addRow(new Object[] { Boolean.TRUE, description, series.getFileCount(),
+				addRow(new Object[] { Boolean.valueOf(series.isUploadAllowed()), description, series.getFileCount(),
 						Utils.showNearestUnits(new StringBuilder(), series.getSize(), "b").toString() });
 			}