added a JSlider to select luminance