aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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)
I agree. Here's the link:
subject: Scrollbar thumb color
Similar Threads
Change colour of Toolbar
Scrollbar Look
Is this possible in JScrollPane?
Change the color of a JScrollBar
How To Show a Vertical Scrollbar Inside FIELDSET