Closedown
This commit is contained in:
@@ -53,7 +53,7 @@ public class PhotonEnergy extends Panel {
|
||||
@Override
|
||||
public void onNewRecord(Scan scan, ScanRecord rec) {
|
||||
if (running) {
|
||||
int index = rec.index + 1;
|
||||
int index = rec.getIndex() + 1;
|
||||
if (index < table.getRowCount()) {
|
||||
table.setRowSelectionInterval(index, index);
|
||||
SwingUtils.scrollToVisible(table, index, 0);
|
||||
|
||||
Reference in New Issue
Block a user