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

    Default In JCreator, i want to create a basic JSlider w/ a text box. Where do i start ?

    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 06:00 PM.

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,234
    Rep Power
    7

    Default

    Read the JSlider API and follow the link to the section in the Swing tutorial on "How to Use Sliders" for an example.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

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 do you make a basic Java JSlider with a text box ???
    By danielmessick in forum Java Applets
    Replies: 1
    Last Post: 03-07-2010, 12:55 PM
  3. How to create Web Services in NetBeans from start
    By oneofthelions in forum Advanced Java
    Replies: 4
    Last Post: 12-15-2009, 07:39 PM
  4. basic text editor in Swing
    By Java.child in forum AWT / Swing
    Replies: 6
    Last Post: 12-30-2008, 11:09 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
  •