Application wide setSelectionColor
From: Reinhard Engels (beautiful_idiot_at_yahoo.com)
Date: 03/24/04
- Next message: Jonathan Fuerth: "Re: How to display German Umlauts correctly on Mac and Unix"
- Previous message: Andrew Thompson: "Re: Noobie Java Interface Designer"
- Next in thread: Laird Nelson: "Re: Application wide setSelectionColor"
- Reply: Laird Nelson: "Re: Application wide setSelectionColor"
- Reply: Jonathan Fuerth: "Re: Application wide setSelectionColor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Mar 2004 09:44:36 -0800
JTextPane lets me set the background color of selected text with the
setSelectionColor method. Though I don't offhand see how to do this
for some other components (like JTree), I imagine there must be a way.
But rather than hunt each component down, is there a way I could set
this in a single place for all swing components in my app? I know I
can do this at the OS level (at least on my mac) but I don't want to
have to presume this kind of knowledge from users, and the default
selection colors lack the visual contrast my app requires.
Thanks in advance,
Reinhard
www.everydaysystems.com
- Next message: Jonathan Fuerth: "Re: How to display German Umlauts correctly on Mac and Unix"
- Previous message: Andrew Thompson: "Re: Noobie Java Interface Designer"
- Next in thread: Laird Nelson: "Re: Application wide setSelectionColor"
- Reply: Laird Nelson: "Re: Application wide setSelectionColor"
- Reply: Jonathan Fuerth: "Re: Application wide setSelectionColor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|