The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Controlling the Layout of a disabled JComboBox

Posted by Bucher Hubert on July 21, 2000 at 4:29 AM

In our Project we have a guideline which says not editable widgets have a gray background and a black foreground.
JTextComponents allow to modify the text color by "setDisabledTextColor(Color c)". But we have a problem with JComboBox and JCheckBox.
Both does not allow for setting a disabled text color.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us