Skip to content

Commit

Permalink
Adding version label
Browse files Browse the repository at this point in the history
  • Loading branch information
palmada committed Aug 18, 2018
1 parent 747b3c8 commit 303d44d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 12 deletions.
Binary file modified NanoJ-Fluidics.jar
Binary file not shown.
Binary file modified NanoJ-Fluidics_IJ.jar
Binary file not shown.
Binary file modified NanoJ-Fluidics_MM.jar
Binary file not shown.
Binary file modified PackagedBinaries/NanoJ-Fluidics.zip
Binary file not shown.
Binary file modified PackagedBinaries/NanoJ-Fluidics_IJ.zip
Binary file not shown.
Binary file modified PackagedBinaries/NanoJ-Fluidics_MM.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ public class PumpConnections extends JPanel {
private static final String PUMP = "pump";

JComboBox availablePumpsList;

JLabel pumpListLabel;
JLabel connectLabel;

JLabel version = new JLabel("NanoJ Sequential Labelling version: 1.1.2");
JLabel pumpListLabel = new JLabel("Pump type");
JLabel connectLabel = new JLabel("Serial port");
JComboBox portsList;
JButton connectButton;
JButton disconnectButton;
JLabel connectedPumpsLabel;
JButton connectButton = new JButton("Connect");
JButton disconnectButton = new JButton("Disconnect");
JLabel connectedPumpsLabel = new JLabel("List of currently connected pumps");
private JTable connectedPumpsTable;
private ConnectionsTable connectedPumpsTableModel;
JScrollPane connectedPumpsListPane;
Expand All @@ -41,12 +42,6 @@ public PumpConnections(GUI gui) {
super();
this.gui = gui;

pumpListLabel = new JLabel("Pump type");
connectLabel = new JLabel("Serial port");
portsList = new JComboBox();
connectButton = new JButton("Connect");
disconnectButton = new JButton("Disconnect");
connectedPumpsLabel = new JLabel("List of currently connected pumps");
connectedPumpsTableModel = new ConnectionsTable();
connectedPumpsTable = new JTable(connectedPumpsTableModel);
connectedPumpsListPane = new JScrollPane(connectedPumpsTable);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class PumpConnectionsLayout extends GroupLayout {
)
.addGroup(createParallelGroup().addComponent(panel.connectedPumpsLabel))
.addGroup(createParallelGroup().addComponent(panel.connectedPumpsListPane))
.addGroup(createParallelGroup().addComponent(panel.version))
);

setHorizontalGroup(
Expand All @@ -47,6 +48,7 @@ class PumpConnectionsLayout extends GroupLayout {
)
.addGroup(createParallelGroup().addComponent(panel.connectedPumpsLabel))
.addGroup(createParallelGroup().addComponent(panel.connectedPumpsListPane))
.addGroup(createParallelGroup().addComponent(panel.version))
);
}
}

0 comments on commit 303d44d

Please sign in to comment.