How do I change the Selection Highlight Rectangle Color?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Max_Roux
Posted On:   Wednesday, December 3, 2003 03:00 PM

When a JButton or cell in a JTable is selected a small colored rectangle appears around the JButton text or the selected cell. Depending on the application, I would like to change the color of that rectangle to the background color so it will disappear or some other color to make it really stand out.


I have searched Sun Developer Connection and here with limited results. What I have found indicates that it is set by the plaf UIManager but have found nothing concrete.


If someone could point me in the right direction it would be greatly appreciated.


Max

Re: How do I change the Selection Highlight Rectangle Color?

Posted By:   Bruce_Scheidemantel  
Posted On:   Saturday, December 13, 2003 10:53 PM

Not to necessarily direct you off of this site (because it's great), but here are a couple links regarding your problem and a solution:



Getting defaults:




http://archive.devx.com/free/tips/tipview.asp?content_id=1856&Java=ON






Changing them:




http://archive.devx.com/free/tips/tipview.asp?content_id=1858&Java=ON





Come back soon!
About | Sitemap | Contact