A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Swing / AWT / SWT
Problem in changing forground color of JSlider!!
Joined: Jan 21, 2006
Jan 26, 2006 06:45:00
I am adding
to my program.. when I want to change background and foreground color of
, background color changes to black correctly..
but foreground color.. (I want to have numbers with
in white).. does not change to white.. !!
framesPerSecond = new
(JSlider.HORIZONTAL, FPS_MIN, FPS_MAX, FPS_INIT);
Is default numbers of
part of Background??
If yes.. is there any way to change color of numbers.. ??
It is sorta covered in the
JavaRanch Style Guide
subject: Problem in changing forground color of JSlider!!
Mac help - I thought Java was platform independent?
Color of CheckBox
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015