Subversion Repositories svn.mios

Rev

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

Rev 213 Rev 628
Line 28... Line 28...
28
import javax.swing.JSpinner;
28
import javax.swing.JSpinner;
29
import javax.swing.SpinnerNumberModel;
29
import javax.swing.SpinnerNumberModel;
30
import javax.swing.event.ChangeEvent;
30
import javax.swing.event.ChangeEvent;
31
import javax.swing.event.ChangeListener;
31
import javax.swing.event.ChangeListener;
32
32
-
 
33
import org.midibox.sidedit.SIDSysexParameterControl;
33
import org.midibox.utils.gui.FontLoader;
34
import org.midibox.utils.gui.FontLoader;
34
import org.midibox.sidedit.*;
-
 
35
35
36
public class SIDSysexParameterControlSpinner extends SIDSysexParameterControlGUI
36
public class SIDSysexParameterControlSpinner extends
37
        implements ChangeListener {
37
        SIDSysexParameterControlGUI implements ChangeListener {
38
38
39
    private JSpinner spinner;
39
    private JSpinner spinner;
40
40
-
 
41
    public SIDSysexParameterControlSpinner(
41
    public SIDSysexParameterControlSpinner(SIDSysexParameterControl midiParameter,
42
            SIDSysexParameterControl midiParameter, JSpinner spinner,
42
            JSpinner spinner, String name) {
43
            String name) {
43
        super(midiParameter, true, BorderLayout.NORTH, false, false);
44
        super(midiParameter, true, BorderLayout.NORTH, false, false);
44
        this.spinner = spinner;
45
        this.spinner = spinner;
45
        midiParameterLabel.setText(name);
46
        midiParameterLabel.setText(name);
46
        JPanel panel = new JPanel(new FlowLayout(FlowLayout.CENTER, 0, 0));
47
        JPanel panel = new JPanel(new FlowLayout(FlowLayout.CENTER, 0, 0));
47
        panel.setOpaque(false);
48
        panel.setOpaque(false);