Results 1 to 2 of 2
  1. #1
    danielmessick is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    0

    Default 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
    Last edited by danielmessick; 03-06-2010 at 05:59 PM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,298
    Rep Power
    20

Similar Threads

  1. How do you make a basic Java JSlider with a text box ???
    By danielmessick in forum New To Java
    Replies: 1
    Last Post: 03-07-2010, 12:59 PM
  2. How to make text bold using java
    By gundyguyz in forum New To Java
    Replies: 2
    Last Post: 07-28-2009, 05:06 AM
  3. basic text editor in Swing
    By Java.child in forum AWT / Swing
    Replies: 6
    Last Post: 12-30-2008, 11:09 PM
  4. Make a text in Jlabel down to next Line
    By hungleon88 in forum AWT / Swing
    Replies: 2
    Last Post: 12-01-2008, 11:10 PM
  5. How To:Use a JSlider to adjust Text size in a JPanel
    By louiebagz in forum AWT / Swing
    Replies: 2
    Last Post: 07-01-2007, 07:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •