Reputation: 197
I am developing a client for a web server application. The client has a TextArea that is displaying text both from the web server and from the client. I want the input to the client to have a particular color (in CSS) to distinguish it. The input is stored in the String userAnswer
. Is it possible to create an ID that is connected with the String or any other way to do this?
Out.appendText(userAnswer + "\n");
Upvotes: 0
Views: 446