views:

62

answers:

2

I have a disabled JTextField and due to readability problems i want to make the font black again. So that it looks like its not disabled, but i cant edit it. any suggestions?

A: 

Try using the method setDisabledTextColor (inherited from JTextComponent)

JohnoBoy
+1  A: 

You can use the setDisabledTextColor(Color c) method to set the desired color. For more information check: javadocs

Faisal Feroz