I am trying to gather some input using Swing classes.
Basically, I have a number of text areas and a combo box in the same frame and I need to "grey out" some of the text areas according to the selection in the combo box.
If you want to mark up text in the area, I think you might need to consider using the JTextPane rather than JTextArea. It's a more complex Class than the JTextArea, however I don't believe the JTextArea will highlight parts of the text (other than the user selecting text by mouse)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.