How do you make a basic Java JSlider with a text box ???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • danielmessick
    New Member
    • Mar 2010
    • 9

    How do you make a basic Java JSlider with a text box ???

    I'm trying to create a JSlider applet to change colors in a text box.. Where do I start???? I'm not trying to create anything very complicated; just something basic to change between 3 colors (RED, BLUE, GREEN). Say you move the slider to the right, I want the text box above it to change color to RED and if I move it a little more to the right, the text box will turn BLUE, so on and so forth.

    For example, an applet such as the image in the link below:

    http://farm3.static.flickr.com/2776/...c7dd37d8_o.jpg
Working...