contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
setContentPane(contentPane);
contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
this.listener = listener;
locus = new PlanckianLocus();
tempSlider = new JSlider(MIN_TEMP, MAX_TEMP, MIN_TEMP);
contentPane.add(tempSlider);
tempLabel = new JLabel("select temperature above");