[SWING] custom JSlider

Discussion in 'Java' started by oliv@linuxmail.org, Mar 16, 2007.

  1. Guest

    Suppose I have 2 images :eek:ne of the background slider, one of its
    handle.

    I want a standard javax.swing.JSlider but customise its look with my 2
    images.
    How can I achieve this simply ?

    (in a equivalent way in which I customised buttons' look:
    ImageIcon ico2=new ImageIcon("button.gif");
    button.setRolloverIcon(ico2);
    button.setOpaque(false);
    button.setContentAreaFilled (false);

    thanks
    , Mar 16, 2007
    #1
    1. Advertising

  2. Re: custom JSlider

    On Mar 16, 9:18 pm, wrote:
    ....
    > How can I achieve this simply ?


    Hire someone to do it for you.
    That is very simple.

    Andrew T.
    Andrew Thompson, Mar 16, 2007
    #2
    1. Advertising

  3. Guest

    Re: custom JSlider

    and any complex solution (to cover this very simple need) ?
    , Mar 16, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Aaron Boxer

    JSlider Question

    Aaron Boxer, Oct 23, 2003, in forum: Java
    Replies:
    2
    Views:
    599
    Phil...
    Oct 24, 2003
  2. Konrad Den Ende
    Replies:
    0
    Views:
    856
    Konrad Den Ende
    Dec 12, 2004
  3. Replies:
    2
    Views:
    1,111
    Michael Rauscher
    Aug 24, 2006
  4. Simon Andrews

    Removing numbers over JSlider

    Simon Andrews, Apr 21, 2008, in forum: Java
    Replies:
    0
    Views:
    364
    Simon Andrews
    Apr 21, 2008
  5. A Watcher

    JSlider changeEvent and Matlab

    A Watcher, Jun 26, 2008, in forum: Java
    Replies:
    0
    Views:
    367
    A Watcher
    Jun 26, 2008
Loading...

Share This Page