🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #13320

JScrollBar color settings?

#13320
From: Tapio Holopainen
Date: Mon, 10 Aug 1998 00:00
13 lines
931 bytes
Is it possible to change default blue color of JScrollBar's 'elevator'?

I'm using JScrollBar at JTable. Following code changes only background,
but blue color of 'elevator' remains...

JScrollPane _pane = JTable.createScrollPaneForTable(new JTable());
_pane.getVerticalScrollBar().setBackground(Color.white);
_pane.getVerticalScrollBar().setForeground(Color.lightGray); //NOT
WORK??

Thank's for the answers.

- Tapio
Technical Details
Message-ID: <35CED3E4.1691EC99@sysline.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,7fab7069ced4eece,start
X-Google-Attributes: gid111d45,public
From: Tapio Holopainen <tapio.holopainen@sysline.com>
Subject: JScrollBar color settings?
Date: 1998/08/10
Message-ID: <35CED3E4.1691EC99@sysline.com>
X-Deja-AN: 379662754
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Sysline Oy
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing