public SliderPanel(String s, HumanFirstPane p) 
    {
        super(new BorderLayout());
        myPane = p;
        
        myDisplay = new JTextArea(1, 30);
        myDisplay.setEditable(false);
        myLengthDisplay = new JTextArea(1, 5);
        myLengthDisplay.setEditable(false);
        JPanel displayPanel = new JPanel();
        displayPanel.setLayout(new BoxLayout(displayPanel, BoxLayout.X_AXIS));
        displayPanel.setBorder(BorderFactory.createEmptyBorder(0, 8, 0, 7));
        displayPanel.add(new JLabel(s + ": "));
        displayPanel.add(myDisplay);
        displayPanel.add(new JLabel("    |" + s + "|: "));
        displayPanel.add(myLengthDisplay);
        add(displayPanel, BorderLayout.CENTER);
        mySlider = new JSlider(0, START_MAX);
        mySlider.setValue(0);
        mySlider.setPaintTicks(true);
        mySlider.setMinorTickSpacing(1);
        mySlider.addChangeListener(new ChangeListener()
            {
                public void stateChanged(ChangeEvent e) 
                {
                    refresh();
                    myPane.refresh();
                }
            });
        add(mySlider, BorderLayout.SOUTH);
        myMin = 0;
        myMax = 0;
        myText = "";
    }