+ y++;
+
+ c = new GridBagConstraints();
+ c.gridx = 0; c.gridy = y;
+ c.gridwidth = GridBagConstraints.REMAINDER;
+ c.fill = GridBagConstraints.HORIZONTAL;
+ c.weightx = 0;
+ c.anchor = GridBagConstraints.LINE_START;
+ c.insets = ir;
+ JLabel help_text = new JLabel(
+ "<html><i>Turn on the MicroPeak and place the LED inside the<br>" +
+ "opening in the top of the MicroPeak USB adapter.<br> " +
+ "Verify that the blue LED in the side of the USB adapter<br>" +
+ "is blinking along with the orange LED on the MicroPeak.</i></html>");
+// help_text.setEditable(false);
+
+ pane.add(help_text, c);
+ y++;
+
+ c = new GridBagConstraints();
+ c.gridx = 0; c.gridy = y;
+ c.gridwidth = 2;
+ c.fill = GridBagConstraints.HORIZONTAL;
+ c.weightx = 1;
+ c.anchor = GridBagConstraints.LINE_START;
+ c.insets = ir;
+ status_value = new JLabel("Waiting for MicroPeak data...");
+ pane.add(status_value, c);
+ y++;
+
+ serial_log = new JTextArea(10, 20);
+ serial_log.setEditable(false);
+
+ JScrollPane serial_scroll = new JScrollPane(serial_log);
+ serial_scroll.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
+
+ c = new GridBagConstraints();
+ c.gridx = 0; c.gridy = y;
+ c.gridwidth = GridBagConstraints.REMAINDER;
+ c.fill = GridBagConstraints.BOTH;
+ c.weightx = 1;
+ c.weighty = 1;
+ c.anchor = GridBagConstraints.LINE_START;
+ c.insets = ir;
+
+ pane.add(serial_scroll, c);
+ y++;