By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,230 Members | 2,427 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,230 IT Pros & Developers. It's quick & easy.

how to change background for a JTextArea object

P: n/a
I would like to have a JTextArea with a background white and text should be
readonly.

The way I tried is something like this:
JTextArea text = new JTextArea();
text.setEditable(false);
text.setBackground(Color.white);

In Java this works ok the backround is set to white.
In J# the background stays grey.

Thanks
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Colibasi" <Co******@discussions.microsoft.com> wrote in message
news:6C**********************************@microsof t.com...
In J# the background stays grey.


Wrong newsgroup: microsoft.puclic.dotnet.vjsharp
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.