presetLabel.setHorizontalAlignment(presetLabel.RIGHT);
presetLabel.setHorizontalAlignment(SwingConstants.RIGHT);
    private void addSelectPanel(Patch patch, JPanel panel) {        JPanel selectPanel = new JPanel();        //        selectPanel.setLayout(new GridLayout(1, 7));//        selectPanel.setBorder(new TitledBorder(new EtchedBorder(EtchedBorder.RAISED),"Selected Preset",TitledBorder.CENTER,TitledBorder.CENTER));        panel.add(selectPanel);                selectPanel.add(new JLabel(""));        JLabel bankLabel = new JLabel("Bank");        bankLabel.setHorizontalAlignment(bankLabel.RIGHT);        selectPanel.add(bankLabel);                bankSelect = new JComboBox(BANK_NUMS);        bankSelect.setActionCommand(SELECT_PRESET_ACTION_CMD);        selectPanel.add(bankSelect);        bankSelect.addActionListener(this);                selectPanel.add(new JLabel(""));        JLabel presetLabel = new JLabel("Preset");        presetLabel.setHorizontalAlignment(presetLabel.RIGHT);        selectPanel.add(presetLabel);                presetSelect = new JComboBox(PRESET_NUMS);        presetSelect.setActionCommand(SELECT_PRESET_ACTION_CMD);        selectPanel.add(presetSelect);        presetSelect.addActionListener(this);                selectPanel.add(new JLabel(""));    }