Results 1 to 4 of 4
  1. #1
    icebato is offline Member
    Join Date
    Dec 2010
    Posts
    2
    Rep Power
    0

    Default JSlider - Color Changer

    Yes hi guys, I'm new here and i am having a hard time figuring out whats wrong with my codes.

    File #bzoqda21-4011 - JAVA - Sourcecode | sourcepod.com

    as you can see its a simple color slider. The thing is, i want my slider to display values at 255, and i can't figure out how to do this.

    SOrry for the bad English

    Please help.
    THanks.

  2. #2
    fex
    fex is offline Member
    Join Date
    Dec 2010
    Posts
    20
    Rep Power
    0

    Default

    Hello,

    looking at the code, you didn't write it yourself. So I'm not going to do any effort as well to help you :D

    I don't know what your intentions are with the color thingy, but are you aware of the existence of the JColorChooser ?

  3. #3
    hosscomp is offline Member
    Join Date
    Oct 2010
    Posts
    63
    Rep Power
    0

    Default

    When creating the JSlider you need to give it your min and max limits.

  4. #4
    icebato is offline Member
    Join Date
    Dec 2010
    Posts
    2
    Rep Power
    0

Similar Threads

  1. How to improve Jslider
    By JohnST in forum New To Java
    Replies: 3
    Last Post: 01-12-2010, 01:04 AM
  2. Jslider changeListner
    By Basit56 in forum Java Applets
    Replies: 1
    Last Post: 09-14-2009, 04:04 PM
  3. Got Trouble with JSlider
    By hungleon88 in forum Advanced Java
    Replies: 6
    Last Post: 08-30-2008, 05:02 PM
  4. jmf & JSlider
    By nathanr_kamal in forum AWT / Swing
    Replies: 6
    Last Post: 06-28-2008, 07:56 AM
  5. keyword color changer
    By aisaki in forum New To Java
    Replies: 0
    Last Post: 08-05-2007, 03:12 PM

Posting Permissions

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