Subversion Repositories svn.mios

Rev

Rev 696 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 696 Rev 738
Line 20... Line 20...
20
20
21
package org.midibox.sidedit.gui.drum;
21
package org.midibox.sidedit.gui.drum;
22
22
23
import java.awt.BorderLayout;
23
import java.awt.BorderLayout;
24
import java.awt.Dimension;
24
import java.awt.Dimension;
25
import java.awt.FlowLayout;
-
 
26
import java.awt.Font;
25
import java.awt.Font;
27
import java.awt.GridBagConstraints;
26
import java.awt.GridBagConstraints;
28
import java.awt.GridBagLayout;
27
import java.awt.GridBagLayout;
29
import java.awt.event.ActionEvent;
28
import java.awt.event.ActionEvent;
30
import java.awt.event.ActionListener;
29
import java.awt.event.ActionListener;
31
import java.util.Vector;
30
import java.util.Vector;
32
31
33
import javax.swing.BorderFactory;
32
import javax.swing.BorderFactory;
34
import javax.swing.BoxLayout;
33
import javax.swing.BoxLayout;
35
import javax.swing.ButtonGroup;
34
import javax.swing.ButtonGroup;
36
import javax.swing.JComboBox;
-
 
37
import javax.swing.JLabel;
35
import javax.swing.JLabel;
38
import javax.swing.JPanel;
36
import javax.swing.JPanel;
39
import javax.swing.JRadioButton;
37
import javax.swing.JRadioButton;
40
38
41
import org.midibox.sidedit.SIDSysexParameterControl;
39
import org.midibox.sidedit.SIDSysexParameterControl;
Line 62... Line 60...
62
        seqPanel.setOpaque(false);
60
        seqPanel.setOpaque(false);
63
61
64
        JPanel comboPanel = new JPanel();
62
        JPanel comboPanel = new JPanel();
65
        comboPanel.setLayout(new BoxLayout(comboPanel, BoxLayout.Y_AXIS));
63
        comboPanel.setLayout(new BoxLayout(comboPanel, BoxLayout.Y_AXIS));
66
        comboPanel.setOpaque(false);
64
        comboPanel.setOpaque(false);
-
 
65
        String[] s = { "Sequence #1", "Sequence #2", "Sequence #3",
67
        String[] s = { "Sequence #1", "Sequence #2", "Sequence #3", "Sequence #4", "Sequence #5", "Sequence #6", "Sequence #7", "Sequence #8" };
66
                "Sequence #4", "Sequence #5", "Sequence #6", "Sequence #7",
-
 
67
                "Sequence #8" };
68
        ButtonGroup bg = new ButtonGroup();
68
        ButtonGroup bg = new ButtonGroup();
69
        radioButtons = new JRadioButton[s.length];
69
        radioButtons = new JRadioButton[s.length];
70
        for (int i = 0; i < s.length; i++) {
70
        for (int i = 0; i < s.length; i++) {
71
            radioButtons[i] = new JRadioButton(s[i], true);
71
            radioButtons[i] = new JRadioButton(s[i], true);
72
            radioButtons[i].setOpaque(false);
72
            radioButtons[i].setOpaque(false);