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;        slider=new JSlider (JSlider.HORIZONTAL,valueMin,valueMax,valueCurr);        slider.addChangeListener (new ChangeListener ()        {            public void stateChanged (ChangeEvent e)            {                setValue (slider.getValue ());                sendSysex ();                text.setText (new Integer (valueCurr+base).toString ());            }        });            text = new JTextField (new Integer (valueCurr+base).toString (),4);            slider.setMinimumSize (new Dimension (50,25));            slider.setMaximumSize (new Dimension (125,25));                        add (slider,BorderLayout.CENTER);add (text,BorderLayout.EAST);            text.setEditable (false);                            }