This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Scrollbar thumb color Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Scrollbar thumb color" Watch "Scrollbar thumb color" New topic

Scrollbar thumb color

damian cosmos
Ranch Hand

Joined: Dec 13, 2001
Posts: 32
Is it possible to change the color of the scrollbar thumb ?
Terence Doyle
Ranch Hand

Joined: May 30, 2001
Posts: 328
Hi Damian,
Yes it is.

Here's a list of other properties you can alter:
The thing to watch out for with these properties is that if you don't get the name right the code will compile and run but it won't have any effect....
You could write the contents of the UIDefaults to a file for future reference ( once you start playing with the colors you're not going to want to stop )

Hope that helps,

Raising Flares debut album 'Ignition' out now

Terry Doyle <br />SCPJ 1.4 , SCWCD , SCMAD(Beta)
It is sorta covered in the JavaRanch Style Guide.
subject: Scrollbar thumb color