Solved

JSlider

Posted on 1998-09-04
1
184 Views
Last Modified: 2010-05-18
I am using JSliders to monitor capacity levels.  I want the slider to fill with color as it moves(ex: from 0-50, color is only filled up to 50.  Is this possible, a method?  or sample program.
0
Comment
Question by:spowers
1 Comment
 
LVL 3

Accepted Solution

by:
sailwind earned 50 total points
ID: 1223601
You can use JProgressBar which fills up with color as it goes. You can
limit it going to 50 by limiting your ticks to no more than 50.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bitbucket vs gitbucket 3 57
session migration servlets 2 24
ForLoop Example 3 40
how to add new optional parameter to JSP 1 27
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to implement Singleton Design Pattern in Java.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now