X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altosuilib%2FAltosRomconfigUI.java;h=eb2e8333d5df9597c2eb767cc0a6be31a7e04441;hp=f8dcc3e1fe9ba83e8f21ca819b5673407a7c0d68;hb=2b3c6806a3039ac8c4c1a1e2d6715b0cdc5b9632;hpb=5bdf8eeb1cdc1a50c9abd0f8962533f6970bd7f0 diff --git a/altosuilib/AltosRomconfigUI.java b/altosuilib/AltosRomconfigUI.java index f8dcc3e1..eb2e8333 100644 --- a/altosuilib/AltosRomconfigUI.java +++ b/altosuilib/AltosRomconfigUI.java @@ -29,9 +29,11 @@ public class AltosRomconfigUI { Container pane; Box box; + JLabel product_label; JLabel serial_label; JLabel radio_calibration_label; + JLabel product_value; JFrame owner; JTextField serial_value; JTextField radio_calibration_value; @@ -54,6 +56,29 @@ public class AltosRomconfigUI int y = 0; + /* Product name */ + /* Serial */ + c = new GridBagConstraints(); + c.gridx = 0; c.gridy = y; + c.gridwidth = 3; + c.fill = GridBagConstraints.NONE; + c.anchor = GridBagConstraints.LINE_START; + c.insets = il; + product_label = new JLabel("Product:"); + pane.add(product_label, c); + + c = new GridBagConstraints(); + c.gridx = 3; c.gridy = y; + c.gridwidth = 3; + c.fill = GridBagConstraints.HORIZONTAL; + c.weightx = 1; + c.anchor = GridBagConstraints.LINE_START; + c.insets = ir; + product_value = new JLabel(config.usb_product); + pane.add(product_value, c); + + y++; + /* Serial */ c = new GridBagConstraints(); c.gridx = 0; c.gridy = y;