Question:

JTextFields: I have a TextField with setEnabled to false, how can i make it so it isnt faded?

by  |  earlier

0 LIKES UnLike

I have set to False because i do not want anyone to edit it but the problem with that is that the text in the Field becomes faded and harder to read. Is there a method that can make it go back to the way it was before but with no editing?

 Tags:

   Report

1 ANSWERS


  1. don't use setEnabled, try to use setEditable(false)

    Bye

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.