| | |
| | | //tab_comm_type.addTab("RS485\u901A\u4FE1", null, panel_8, null); |
| | | panel_8.setBorder(new TitledBorder(null, "\u4E32\u53E3\u53F7 / \u6CE2\u7279\u7387", TitledBorder.LEADING, TitledBorder.TOP, null, null)); |
| | | //panel_8.setLayout(new FlowLayout(FlowLayout.CENTER, 2, 0)); |
| | | panel_8.setLayout(new GridLayout(1,4)); |
| | | panel_8.setLayout(new GridLayout(1,3)); |
| | | btn_renew_commport = new JButton("\u5237\u65B0"); |
| | | panel_8.add(btn_renew_commport); |
| | | //btn_renew_commport.setIcon(new ImageIcon(main_window.class.getResource("/png_16x16/arrow_refresh.png"))); |
| | |
| | | |
| | | cb_dev_type = new JComboBox(); |
| | | cb_dev_type.setModel(new DefaultComboBoxModel(new String[] {"SAM", "MSP", "MSP_RF", "SWM(\u534E\u82AF\u5A01\u7279)"})); |
| | | panel_8.add(cb_dev_type); |
| | | //panel_8.add(cb_dev_type); |
| | | |
| | | //label = new JLabel(""); |
| | | //panel_8.add(label); |