private void jbInit() throws Exception { this.setWidth(580); this.setHeight(450); this.setDeviceType("CADH"); this.setDeviceProvider("localhost"); this.setDeviceTitle("INCAA CADH 4 Channels Transient Recorder"); this.getContentPane().setLayout(borderLayout1); jPanel1.setLayout(borderLayout2); deviceChannel1.setLabelString("Ch1: "); deviceChannel1.setOffsetNid(10); deviceChannel1.setBorderVisible(true); deviceChannel1.setInSameLine(true); deviceChannel1.setUpdateIdentifier(""); deviceChannel1.setShowVal(""); deviceChannel1.setLayout(flowLayout1); jPanel3.setLayout(gridLayout1); gridLayout1.setColumns(1); gridLayout1.setRows(4); jPanel5.setLayout(flowLayout2); deviceField2.setOffsetNid(11); deviceField2.setLabelString("Start: "); deviceField2.setIdentifier(""); deviceField1.setOffsetNid(12); deviceField1.setLabelString("End: "); deviceField1.setIdentifier(""); deviceField3.setIdentifier(""); deviceField3.setLabelString("End: "); deviceField3.setOffsetNid(30); deviceChannel2.setLayout(flowLayout3); deviceChannel2.setShowVal(""); deviceChannel2.setUpdateIdentifier(""); deviceChannel2.setInSameLine(true); deviceChannel2.setBorderVisible(true); deviceChannel2.setOffsetNid(28); deviceChannel2.setLabelString("Ch4: "); jPanel6.setLayout(flowLayout4); deviceField4.setOffsetNid(29); deviceField4.setLabelString("Start: "); deviceField4.setIdentifier(""); deviceField5.setIdentifier(""); deviceField5.setLabelString("End: "); deviceField5.setOffsetNid(24); deviceChannel3.setLayout(flowLayout5); deviceChannel3.setShowVal(""); deviceChannel3.setUpdateIdentifier(""); deviceChannel3.setInSameLine(true); deviceChannel3.setBorderVisible(true); deviceChannel3.setOffsetNid(22); deviceChannel3.setLabelString("Ch3: "); jPanel7.setLayout(flowLayout6); deviceField6.setOffsetNid(23); deviceField6.setLabelString("Start: "); deviceField6.setIdentifier(""); deviceField7.setIdentifier(""); deviceField7.setLabelString("End: "); deviceField7.setOffsetNid(18); deviceChannel4.setLayout(flowLayout7); deviceChannel4.setShowVal(""); deviceChannel4.setUpdateIdentifier(""); deviceChannel4.setInSameLine(true); deviceChannel4.setBorderVisible(true); deviceChannel4.setOffsetNid(16); deviceChannel4.setLabelString("Ch2: "); jPanel8.setLayout(flowLayout8); deviceField8.setOffsetNid(17); deviceField8.setLabelString("Start: "); deviceField8.setIdentifier(""); jPanel4.setLayout(gridLayout2); gridLayout2.setColumns(1); gridLayout2.setRows(4); deviceChannel5.setLabelString("Ch1: "); deviceChannel5.setOffsetNid(10); deviceChannel5.setBorderVisible(true); deviceChannel5.setInSameLine(true); deviceChannel5.setUpdateIdentifier(""); deviceChannel5.setShowVal(""); deviceChannel5.setLayout(flowLayout14); jPanel9.setLayout(flowLayout9); deviceField10.setOffsetNid(13); deviceField10.setLabelString("Start Idx: "); deviceField10.setIdentifier(""); deviceField9.setOffsetNid(14); deviceField9.setLabelString("End Idx: "); deviceField9.setIdentifier(""); deviceField11.setIdentifier(""); deviceField11.setLabelString("Start Idx: "); deviceField11.setOffsetNid(31); deviceField12.setIdentifier(""); deviceField12.setLabelString("End Idx: "); deviceField12.setOffsetNid(32); jPanel10.setLayout(flowLayout10); deviceChannel6.setLabelString("Ch4: "); deviceChannel6.setOffsetNid(28); deviceChannel6.setBorderVisible(true); deviceChannel6.setInSameLine(true); deviceChannel6.setUpdateIdentifier(""); deviceChannel6.setShowVal(""); deviceChannel6.setLayout(flowLayout16); deviceField13.setIdentifier(""); deviceField13.setLabelString("Start Idx: "); deviceField13.setOffsetNid(25); deviceField14.setIdentifier(""); deviceField14.setLabelString("End Idx: "); deviceField14.setOffsetNid(26); jPanel11.setLayout(flowLayout11); deviceChannel7.setLabelString("Ch3: "); deviceChannel7.setOffsetNid(22); deviceChannel7.setBorderVisible(true); deviceChannel7.setInSameLine(true); deviceChannel7.setUpdateIdentifier(""); deviceChannel7.setShowVal(""); deviceChannel7.setLayout(flowLayout15); deviceField15.setIdentifier(""); deviceField15.setLabelString("Start Idx: "); deviceField15.setOffsetNid(19); deviceField16.setIdentifier(""); deviceField16.setLabelString("End Idx: "); deviceField16.setOffsetNid(20); jPanel12.setLayout(flowLayout12); deviceChannel8.setLabelString("Ch2: "); deviceChannel8.setOffsetNid(16); deviceChannel8.setBorderVisible(true); deviceChannel8.setInSameLine(true); deviceChannel8.setUpdateIdentifier(""); deviceChannel8.setShowVal(""); deviceChannel8.setLayout(flowLayout13); jPanel2.setLayout(gridLayout3); gridLayout3.setColumns(1); gridLayout3.setRows(4); deviceField17.setOffsetNid(1); deviceField17.setTextOnly(true); deviceField17.setLabelString("CAMAC Name: "); deviceField17.setIdentifier(""); deviceChoice1.setChoiceIntValues(null); deviceChoice1.setChoiceFloatValues(null); deviceChoice1.setOffsetNid(8); deviceChoice1.setLabelString("Use Time: "); deviceChoice1.setChoiceItems(new String[] {"TRUE", "FALSE"}); deviceChoice1.setUpdateIdentifier(""); deviceChoice1.setIdentifier(""); deviceField18.setOffsetNid(2); deviceField18.setTextOnly(true); deviceField18.setLabelString("Comment: "); deviceField18.setNumCols(35); deviceField18.setIdentifier(""); deviceField20.setOffsetNid(6); deviceField20.setLabelString("Clock Source: "); deviceField20.setNumCols(15); deviceField20.setIdentifier(""); deviceField19.setOffsetNid(5); deviceField19.setLabelString("Trig. Source: "); deviceField19.setNumCols(15); deviceField19.setIdentifier(""); deviceChoice4.setChoiceIntValues(null); deviceChoice4.setChoiceFloatValues(null); deviceChoice4.setOffsetNid(4); deviceChoice4.setLabelString("Clock Mode: "); deviceChoice4.setChoiceItems(new String[] {"INTERNAL", "EXTERNAL"}); deviceChoice4.setUpdateIdentifier(""); deviceChoice4.setIdentifier(""); deviceChoice3.setChoiceIntValues(null); deviceChoice3.setChoiceFloatValues( new float[] { (float) 500000.0, (float) 250000.0, (float) 125000.0, (float) 50000.0, (float) 10000.0, (float) 5000.0, (float) 1000.0, (float) 500.0 }); deviceChoice3.setOffsetNid(7); deviceChoice3.setLabelString("Frequency: "); deviceChoice3.setChoiceItems( new String[] {"500E3", "250E3", "125E3", "50E3", "10E3", "5E3", "1E3", "500"}); deviceChoice3.setUpdateIdentifier(""); deviceChoice3.setIdentifier(""); deviceChoice2.setChoiceIntValues(new int[] {(int) 1, (int) 2, (int) 4}); deviceChoice2.setChoiceFloatValues(null); deviceChoice2.setOffsetNid(3); deviceChoice2.setLabelString("Num. Channels: "); deviceChoice2.setChoiceItems(new String[] {"1", "2", "4"}); deviceChoice2.setUpdateIdentifier(""); deviceChoice2.setIdentifier(""); deviceButtons1.setCheckExpressions(null); deviceButtons1.setCheckMessages(null); deviceButtons1.setMethods(new String[] {"INIT", "TRIGGER", "STORE"}); this.getContentPane().add(deviceButtons1, BorderLayout.SOUTH); this.getContentPane().add(jPanel1, BorderLayout.NORTH); jPanel1.add(jPanel2, BorderLayout.CENTER); jPanel2.add(jPanel13, null); jPanel13.add(deviceField17, null); jPanel13.add(deviceDispatch1, null); jPanel13.add(deviceChoice1, null); jPanel2.add(jPanel16, null); jPanel16.add(deviceField18, null); jPanel2.add(jPanel15, null); jPanel15.add(deviceField20, null); jPanel15.add(deviceField19, null); jPanel2.add(jPanel14, null); jPanel14.add(deviceChoice4, null); jPanel14.add(deviceChoice3, null); jPanel14.add(deviceChoice2, null); jPanel1.add(jTabbedPane1, BorderLayout.SOUTH); jTabbedPane1.add(jPanel3, "Channels (Time)"); jPanel3.add(deviceChannel1, null); deviceChannel1.add(jPanel5, null); jPanel5.add(deviceField2, null); jPanel5.add(deviceField1, null); jPanel3.add(deviceChannel4, null); deviceChannel4.add(jPanel8, null); jPanel8.add(deviceField8, null); jPanel8.add(deviceField7, null); jPanel3.add(deviceChannel3, null); deviceChannel3.add(jPanel7, null); jPanel7.add(deviceField6, null); jPanel7.add(deviceField5, null); jPanel3.add(deviceChannel2, null); deviceChannel2.add(jPanel6, null); jPanel6.add(deviceField4, null); jPanel6.add(deviceField3, null); jTabbedPane1.add(jPanel4, "Channels (Samples)"); jPanel4.add(deviceChannel5, null); deviceChannel5.add(jPanel9, null); jPanel9.add(deviceField10, null); jPanel9.add(deviceField9, null); jPanel4.add(deviceChannel8, null); deviceChannel8.add(jPanel12, null); jPanel12.add(deviceField15, null); jPanel12.add(deviceField16, null); jPanel4.add(deviceChannel7, null); deviceChannel7.add(jPanel11, null); jPanel11.add(deviceField13, null); jPanel11.add(deviceField14, null); jPanel4.add(deviceChannel6, null); deviceChannel6.add(jPanel10, null); jPanel10.add(deviceField11, null); jPanel10.add(deviceField12, null); }
private void jbInit() throws Exception { this.setWidth(700); this.setHeight(450); this.setDeviceType("ST133"); this.setDeviceProvider("150.178.3.33"); this.setDeviceTitle("ST133 CCD Controller"); this.getContentPane().setLayout(borderLayout1); jPanel1.setLayout(gridLayout1); gridLayout1.setColumns(1); gridLayout1.setRows(4); jPanel2.setLayout(flowLayout1); flowLayout1.setAlignment(FlowLayout.LEFT); flowLayout1.setHgap(5); flowLayout1.setVgap(0); flowLayout2.setVgap(0); flowLayout2.setHgap(5); flowLayout2.setAlignment(FlowLayout.LEFT); jPanel3.setLayout(flowLayout2); flowLayout3.setVgap(0); flowLayout3.setHgap(5); flowLayout3.setAlignment(FlowLayout.LEFT); jPanel4.setLayout(flowLayout3); flowLayout4.setVgap(0); flowLayout4.setHgap(5); flowLayout4.setAlignment(FlowLayout.LEFT); jPanel5.setLayout(flowLayout4); deviceField1.setOffsetNid(1); deviceField1.setLabelString("Comment: "); deviceField1.setNumCols(30); deviceField1.setIdentifier(""); deviceField2.setOffsetNid(2); deviceField2.setTextOnly(true); deviceField2.setLabelString("Ip Address: "); deviceField2.setIdentifier(""); deviceChoice1.setChoiceIntValues(null); deviceChoice1.setChoiceFloatValues(null); deviceChoice1.setOffsetNid(3); deviceChoice1.setLabelString("Clock Mode: "); deviceChoice1.setChoiceItems(new String[] {"INTERNAL", "EXTERNAL"}); deviceChoice1.setUpdateIdentifier(""); deviceChoice1.setIdentifier(""); deviceField3.setOffsetNid(4); deviceField3.setLabelString("Clock. Source: "); deviceField3.setNumCols(30); deviceField3.setIdentifier(""); deviceField4.setOffsetNid(14); deviceField4.setLabelString("Exp. Time: "); deviceField4.setNumCols(15); deviceField4.setIdentifier(""); deviceField5.setOffsetNid(18); deviceField5.setLabelString("Num. Frames:"); deviceField5.setIdentifier(""); deviceButtons1.setMethods(new String[] {"init", "store"}); deviceField6.setOffsetNid(16); deviceField6.setLabelString("Cleans: "); deviceField6.setIdentifier(""); deviceField7.setOffsetNid(17); deviceField7.setLabelString("Skip Cleans: "); deviceField7.setIdentifier(""); deviceField8.setOffsetNid(19); deviceField8.setLabelString("Num. ROI"); deviceField8.setIdentifier(""); deviceTable1.setOffsetNid(20); deviceTable1.setNumCols(6); deviceTable1.setNumRows(10); deviceTable1.setIdentifier(""); deviceTable1.setColumnNames( new String[] {"StartX", "EndX", "GroupX", "StartY", "EndY", "GroupY"}); deviceTable1.setRowNames(null); deviceTable1.setDisplayRowNumber(true); this.getContentPane().add(deviceButtons1, BorderLayout.SOUTH); this.getContentPane().add(jPanel1, BorderLayout.NORTH); jPanel1.add(jPanel2, null); jPanel2.add(deviceField1, null); jPanel2.add(deviceField2, null); jPanel1.add(jPanel3, null); jPanel3.add(deviceChoice1, null); jPanel3.add(deviceField3, null); jPanel1.add(jPanel4, null); jPanel4.add(deviceField5, null); jPanel4.add(deviceField4, null); jPanel4.add(deviceDispatch1, null); jPanel1.add(jPanel5, null); jPanel5.add(deviceField6, null); jPanel5.add(deviceField7, null); jPanel5.add(deviceField8, null); this.getContentPane().add(deviceTable1, BorderLayout.CENTER); }
private void jbInit() throws Exception { this.setWidth(529); this.setHeight(529); this.setDeviceType("WE900"); this.setDeviceProvider("localhost"); this.setDeviceTitle("YOKOGAWA Rack 9 Slots"); this.getContentPane().setLayout(null); jPanel1.setLayout(null); deviceField1.setOffsetNid(1); deviceField1.setLabelString("Comment: "); deviceField1.setNumCols(25); jPanel3.setLayout(flowLayout2); flowLayout2.setAlignment(FlowLayout.LEFT); flowLayout2.setHgap(0); flowLayout2.setVgap(0); deviceChoice1.setOffsetNid(6); deviceChoice1.setLabelString("Bus Trigger 2:"); deviceChoice1.setChoiceItems(new String[] {"SOFTWARE", "EXT I/O", "TRIGIN"}); jPanel4.setLayout(flowLayout3); flowLayout3.setAlignment(FlowLayout.LEFT); flowLayout3.setHgap(5); flowLayout3.setVgap(0); deviceField2.setOffsetNid(7); deviceField2.setLabelString("Source: "); deviceField2.setNumCols(20); flowLayout4.setAlignment(FlowLayout.LEFT); flowLayout4.setHgap(5); flowLayout4.setVgap(0); jPanel5.setLayout(flowLayout4); deviceChoice2.setOffsetNid(4); deviceChoice2.setLabelString("Bus Trigger 1:"); deviceChoice2.setShowState(false); deviceChoice2.setChoiceItems(new String[] {"SOFTWARE", "EXT I/O", "TRIGIN"}); deviceField5.setOffsetNid(5); deviceField5.setLabelString("Source: "); deviceField5.setNumCols(20); deviceField6.setNumCols(20); deviceField6.setOffsetNid(10); deviceField6.setLabelString("Source: "); deviceChoice3.setChoiceItems(new String[] {"NONE", "EXT I/O", "TRIGIN"}); deviceChoice3.setOffsetNid(9); deviceChoice3.setLabelString("Cmn. Clock:"); flowLayout5.setAlignment(FlowLayout.LEFT); flowLayout5.setHgap(5); flowLayout5.setVgap(0); jPanel6.setLayout(flowLayout5); jPanel1.setPreferredSize(new Dimension(300, 500)); jPanel1.setBounds(new Rectangle(1, 2, 529, 396)); jScrollPane1.setDebugGraphicsOptions(0); jScrollPane1.setBounds(new Rectangle(15, 191, 488, 138)); deviceChoice4.setOffsetNid(8); deviceChoice4.setLabelString("Trigger Slope:"); deviceChoice4.setChoiceItems(new String[] {"POSITIVE", "NEGATIVE"}); flowLayout6.setAlignment(FlowLayout.LEFT); flowLayout6.setVgap(0); jPanel7.setLayout(flowLayout6); flowLayout1.setAlignment(FlowLayout.LEFT); flowLayout1.setHgap(0); flowLayout1.setVgap(0); deviceField3.setNumCols(15); deviceField3.setOffsetNid(2); deviceField3.setLabelString("Controller IP: "); jPanel2.setLayout(flowLayout1); jPanel3.setBounds(new Rectangle(2, 1, 524, 31)); jPanel5.setBounds(new Rectangle(1, 94, 564, 31)); jPanel6.setBounds(new Rectangle(2, 61, 578, 31)); jPanel4.setBounds(new Rectangle(3, 127, 565, 31)); jPanel7.setBounds(new Rectangle(4, 158, 216, 31)); jPanel2.setBounds(new Rectangle(7, 34, 572, 31)); deviceButtons1.setMethods(new String[] {"init", "arm", "turnOff"}); deviceButtons1.setBounds(new Rectangle(24, 347, 474, 35)); jPanel8.setLayout(gridLayout1); gridLayout1.setColumns(1); gridLayout1.setRows(9); deviceField9.setLabelString("Modules Linked"); deviceField9.setNumCols(10); deviceField9.setOffsetNid(32); deviceChoice7.setIdentifier(""); deviceChoice7.setChoiceItems(new String[] {"WE7275", "WE7116"}); deviceChoice7.setShowState(false); deviceChoice7.setLabelString("Module Type"); deviceChoice7.setOffsetNid(31); deviceChannel3.setInSameLine(true); deviceChannel3.setLabelString("Slot 07"); deviceChannel3.setOffsetNid(30); jPanel9.setLayout(flowLayout7); flowLayout7.setHgap(0); flowLayout7.setVgap(0); flowLayout8.setVgap(0); flowLayout8.setHgap(0); deviceField10.setOffsetNid(35); deviceField10.setLabelString("Modules Linked"); deviceField10.setIdentifier(""); deviceChoice8.setOffsetNid(34); deviceChoice8.setLabelString("Module Type"); deviceChoice8.setShowState(false); deviceChoice8.setChoiceItems(new String[] {"WE7275", "WE7116"}); deviceChoice8.setIdentifier(""); jPanel10.setLayout(flowLayout8); deviceChannel4.setInSameLine(true); deviceChannel4.setLabelString("Slot 08"); deviceChannel4.setOffsetNid(33); flowLayout9.setVgap(0); flowLayout9.setHgap(0); deviceField11.setOffsetNid(29); deviceField11.setLabelString("Modules Linked"); deviceField11.setNumCols(10); deviceChoice9.setOffsetNid(28); deviceChoice9.setLabelString("Module Type"); deviceChoice9.setShowState(false); deviceChoice9.setChoiceItems(new String[] {"WE7275", "WE7116"}); deviceChoice9.setIdentifier(""); jPanel14.setLayout(flowLayout9); deviceChannel5.setInSameLine(true); deviceChannel5.setLabelString("Slot 06"); deviceChannel5.setOffsetNid(27); deviceChannel5.setLines(1); flowLayout10.setVgap(0); flowLayout10.setHgap(0); deviceField12.setOffsetNid(14); deviceField12.setLabelString("Modules Linked"); deviceChoice10.setOffsetNid(13); deviceChoice10.setLabelString("Module Type"); deviceChoice10.setShowState(false); deviceChoice10.setChoiceItems(new String[] {"WE7275", "WE7116"}); deviceChoice10.setIdentifier(""); jPanel16.setLayout(flowLayout10); deviceChannel6.setInSameLine(true); deviceChannel6.setLabelString("Slot 01"); deviceChannel6.setOffsetNid(12); deviceChannel6.setLines(1); flowLayout11.setVgap(0); flowLayout11.setHgap(0); deviceField13.setOffsetNid(26); deviceField13.setLabelString("Modules Linked"); deviceField13.setIdentifier(""); deviceChoice11.setOffsetNid(25); deviceChoice11.setLabelString("Module Type"); deviceChoice11.setShowState(false); deviceChoice11.setChoiceItems(new String[] {"WE7275", "WE7116"}); deviceChoice11.setIdentifier(""); jPanel18.setLayout(flowLayout11); deviceChannel7.setInSameLine(true); deviceChannel7.setLabelString("Slot 05"); deviceChannel7.setOffsetNid(24); deviceChannel7.setLines(1); flowLayout12.setVgap(0); flowLayout12.setHgap(0); deviceField14.setOffsetNid(23); deviceField14.setLabelString("Modules Linked"); deviceField14.setIdentifier(""); deviceChoice12.setOffsetNid(22); deviceChoice12.setLabelString("Module Type"); deviceChoice12.setShowState(false); deviceChoice12.setChoiceItems(new String[] {"WE7275", "WE7116"}); deviceChoice12.setIdentifier(""); jPanel110.setLayout(flowLayout12); deviceChannel8.setInSameLine(true); deviceChannel8.setLabelString("Slot 04"); deviceChannel8.setOffsetNid(21); deviceChannel8.setLines(1); flowLayout13.setVgap(0); flowLayout13.setHgap(0); deviceField15.setOffsetNid(20); deviceField15.setLabelString("Modules Linked"); deviceField15.setIdentifier(""); deviceChoice13.setOffsetNid(19); deviceChoice13.setLabelString("Module Type"); deviceChoice13.setShowState(false); deviceChoice13.setChoiceItems(new String[] {"WE7275", "WE7116"}); deviceChoice13.setIdentifier(""); jPanel112.setLayout(flowLayout13); deviceChannel9.setInSameLine(true); deviceChannel9.setLabelString("Slot 03"); deviceChannel9.setOffsetNid(18); deviceChannel9.setLines(1); flowLayout14.setVgap(0); flowLayout14.setHgap(0); deviceField16.setOffsetNid(17); deviceField16.setLabelString("Modules Linked"); deviceField16.setNumCols(10); deviceChoice14.setOffsetNid(16); deviceChoice14.setLabelString("Module Type"); deviceChoice14.setShowState(false); deviceChoice14.setChoiceItems(new String[] {"WE7275", "WE7116"}); deviceChoice14.setIdentifier(""); jPanel114.setLayout(flowLayout14); deviceChannel10.setInSameLine(true); deviceChannel10.setLabelString("Slot 02"); deviceChannel10.setOffsetNid(15); deviceChannel10.setLines(1); deviceField4.setOffsetNid(3); deviceField4.setLabelString("Station IP:"); deviceField4.setNumCols(15); jPanel115.setLayout(flowLayout15); deviceField17.setOffsetNid(38); deviceField17.setLabelString("Modules Linked"); deviceField17.setIdentifier(""); deviceChannel11.setInSameLine(true); deviceChannel11.setLabelString("Slot 09"); deviceChannel11.setOffsetNid(36); deviceChoice15.setOffsetNid(37); deviceChoice15.setLabelString("Module Type"); deviceChoice15.setShowState(false); deviceChoice15.setChoiceItems(new String[] {"WE7275", "WE7116"}); deviceChoice15.setIdentifier(""); flowLayout15.setVgap(0); flowLayout15.setHgap(0); jPanel3.add(deviceField1, null); jPanel3.add(deviceDispatch1, null); jPanel1.add(deviceButtons1, null); jPanel1.add(jScrollPane1, null); jScrollPane1.getViewport().add(jPanel8, null); jPanel11.add(deviceChoice7, null); jPanel11.add(deviceField9, null); jPanel8.add(jPanel16, null); jPanel16.add(deviceChannel6, null); deviceChannel6.add(jPanel15, BorderLayout.EAST); jPanel15.add(deviceChoice10, null); jPanel15.add(deviceField12, null); jPanel116.add(deviceChoice15, null); jPanel116.add(deviceField17, null); jPanel8.add(jPanel114, null); jPanel114.add(deviceChannel10, null); deviceChannel10.add(jPanel113, BorderLayout.EAST); jPanel113.add(deviceChoice14, null); jPanel113.add(deviceField16, null); jPanel8.add(jPanel112, null); jPanel112.add(deviceChannel9, null); deviceChannel9.add(jPanel111, BorderLayout.EAST); jPanel111.add(deviceChoice13, null); jPanel111.add(deviceField15, null); jPanel8.add(jPanel110, null); jPanel110.add(deviceChannel8, null); deviceChannel8.add(jPanel19, BorderLayout.EAST); jPanel19.add(deviceChoice12, null); jPanel19.add(deviceField14, null); jPanel8.add(jPanel18, null); jPanel18.add(deviceChannel7, null); deviceChannel7.add(jPanel17, BorderLayout.EAST); jPanel17.add(deviceChoice11, null); jPanel17.add(deviceField13, null); jPanel8.add(jPanel14, null); jPanel14.add(deviceChannel5, null); deviceChannel5.add(jPanel13, BorderLayout.EAST); jPanel8.add(jPanel9, null); jPanel9.add(deviceChannel3, null); deviceChannel3.add(jPanel11, BorderLayout.EAST); jPanel13.add(deviceChoice9, null); jPanel13.add(deviceField11, null); jPanel8.add(jPanel10, null); jPanel10.add(deviceChannel4, null); deviceChannel4.add(jPanel12, BorderLayout.EAST); jPanel12.add(deviceChoice8, null); jPanel12.add(deviceField10, null); jPanel8.add(jPanel115, null); jPanel115.add(deviceChannel11, null); deviceChannel11.add(jPanel116, BorderLayout.EAST); jPanel1.add(jPanel7, null); jPanel7.add(deviceChoice4, null); jPanel6.add(deviceChoice3, null); jPanel6.add(deviceField6, null); jPanel1.add(jPanel4, null); jPanel1.add(jPanel5, null); jPanel5.add(deviceChoice2, null); jPanel5.add(deviceField5, null); jPanel4.add(deviceChoice1, null); jPanel4.add(deviceField2, null); jPanel1.add(jPanel6, null); jPanel1.add(jPanel2, null); jPanel2.add(deviceField3, null); jPanel2.add(deviceField4, null); jPanel1.add(jPanel3, null); this.getContentPane().add(jPanel1, null); }