Small changes to deployment table

This commit is contained in:
Douglas Gillespie 2023-12-14 11:57:44 +00:00
parent ef92e1eea9
commit 8781374685
4 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>PamGuard Main DG</name>
<name>PamGuard Main Tethys</name>
<comment></comment>
<projects>
</projects>

View File

@ -1444,6 +1444,7 @@ public class PamController implements PamControllerInterface, PamSettings {
*/
private void saveEndSettings(long timeNow) {
// System.out.printf("Updating settings with end time %s\n", PamCalendar.formatDBDateTime(timeNow));
ArrayList<PamControlledUnit> pamControlledUnits = pamConfiguration.getPamControlledUnits();
PamControlledUnit pcu;
PamSettingsSource settingsSource;
for (int iU = 0; iU < pamControlledUnits.size(); iU++) {

View File

@ -38,7 +38,7 @@ public class DeploymentsPanel extends TethysGUIPanel implements DeploymentTableO
pamDeploymentsTable.addObserver(exportPanel);
// tethysDeploymentsTable = new TethysDeploymentsTable(tethysControl);
mainPanel = new PamPanel(new BorderLayout());
mainPanel.setBorder(new TitledBorder("Deployment information"));
mainPanel.setBorder(new TitledBorder("Recording periods and deployment information"));
pamDeploymentsTable.addObserver(this);
pamDeploymentsTable.addObserver(deploymentHandler);
// JSplitPane splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);

View File

@ -59,7 +59,7 @@ public class PAMGuardDeploymentsTable extends TethysGUIPanel {
super(tethysControl);
// deploymentHandler = new DeploymentHandler(getTethysControl());
mainPanel = new PamPanel(new BorderLayout());
mainPanel.setBorder(new TitledBorder("PAMGuard recording periods"));
// mainPanel.setBorder(new TitledBorder("PAMGuard recording periods"));
tableModel = new TableModel();
table = new JTable(tableModel);
// table.setRowSelectionAllowed(true);