public void setup () { super.setup (); setLayout (new BorderLayout ()); jlabel= (new JLabel (label)); add (jlabel,BorderLayout.WEST);
public void setup() { super.setup(); setLayout(new BorderLayout()); jlabel = new JLabel(label); add(jlabel, BorderLayout.WEST);
    public void setup ()    {        super.setup ();        setLayout (new BorderLayout ());        jlabel= (new JLabel (label));        add (jlabel,BorderLayout.WEST);                if (valueCurr>valueMax) valueCurr=valueMax;        SpinnerNumberModel model = new SpinnerNumberModel(valueCurr+base,valueMin+base,valueMax+base,1);        spinner = new JSpinner(model);        spinner.addChangeListener (new ChangeListener ()        {            public void stateChanged (ChangeEvent e)            {                setValue (((Integer)spinner.getValue ()).intValue()-base);	// Maybe the displayed value differ from sysex value for 'base'                sendSysex ();            }        });        add (spinner,BorderLayout.CENTER);                }