Solved

JSlider

Posted on 1998-09-04
1
183 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

706 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

22 Experts available now in Live!

Get 1:1 Help Now