I'm not sure that this is a Java Linux question, but here goes.
 
I don't think that this is an applet problem, it is more a problem with the fact that slider controls in Java (I'm assuming javax.swing.JSlider) just don't work this way.  I would first suggest that this UI is some what confusing.  I would use three separated sliders and have them set there values according to the necessary heuristic.  The Gimp and Adobe Photoshop do something very similar to this for choosing read/green/blue color values. 
 
If you do not want to change the UI, then you would have to create a new control and make it available with your applet.  You might try to incorporate javax.swing.JSlider, or you might just start from scratch.
 
Good luck, and I hope this was helpful
Zack
-----Original Message-----
From: legin [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 9:26 AM
To: [EMAIL PROTECTED]
Subject: Mutiple Slider Control!

Hi all,
 
If somebody can suggest a way to work around this 'applet component' it would be greatly helpful...
 
We need a multiple slider control with which the users can select how much weightage a item has.
 
This should be in percentage, so that the sliders can be used to vary the percentage weightage for 2 or more items.
 
ie.
 
Speed  40%
Acceleration 30%
Power 30%
 
should look something like this.
 
   -------------------------------------------------------------------
   |    Vel 40%    |       Tor 30%     |    Pow 30%  |                               
   -------------------------------------------------------------------
                       ^                       ^
 
so the user can select importance by sliding the slider controls at the bottom of this diagram
 
Any other ways of solving this problem is also appreciated.
 
This particular model is available in the the url
http://www.dinside.no/ds/owa/a.vis?id=4889&vVersjon=ProduktVelger and can be seen by clicking the button 'DinSides nnstillinger' in the applet.
 
If you can take some time looking at this and help us to solve the problem it would be greatful..
 
Thanks,
jones

Reply via email to