c.gridx=0;c.gridy=0;c.gridwidth=9;c.gridheight=1;c.weightx=1;c.anchor=c.WEST;c.fill=c.HORIZONTAL;
c.gridx=0;c.gridy=0;c.gridwidth=9;c.gridheight=1;c.weightx=1;c.anchor=GridBagConstraints.WEST;c.fill=GridBagConstraints.HORIZONTAL;
    public JPanel config()    {	JPanel panel= new JPanel();	GridBagLayout gridbag = new GridBagLayout();	GridBagConstraints c = new GridBagConstraints();	panel.setLayout(gridbag);	c.anchor = GridBagConstraints.WEST;	c.gridx=0;c.gridy=0;c.gridwidth=9;c.gridheight=1;c.weightx=1;c.anchor=c.WEST;c.fill=c.HORIZONTAL;	panel.add(new JLabel("                                                  "),c);	c.gridx=0;c.gridy=1;c.gridwidth=3;c.gridheight=2;	panel.add(new JLabel("Change Device ID and MIDI Channel to:"),c);	String[] deviceNumbers = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" };	JComboBox synthList = new JComboBox(deviceNumbers);	synthList.setSelectedItem(java.lang.Integer.toString(getChannel()));	synthList.addActionListener(new ActionListener()	    {		public void actionPerformed(ActionEvent e) {		    JComboBox cb = (JComboBox)e.getSource();		    String index = (String)cb.getSelectedItem();		    setChannel(java.lang.Integer.parseInt(index));		}	    });	c.gridx=3;c.gridy=1;c.gridwidth=3;c.gridheight=2;	panel.add(synthList,c);	JButton send_button = new JButton("<< SEND >>");	send_button.addActionListener(new ActionListener()	    {		public void actionPerformed(ActionEvent e) {		    reconfigureDeviceID();		}	    });	c.gridx=3;c.gridy=7;c.gridwidth=3;c.gridheight=2;	panel.add(send_button,c);	return panel;    }