[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1262
  • Last Modified:

text area- non editable

hi,

i have input in text area..what do i do, so user cannot edit text area.

I tried. a.setEnabled(false) but it becames gray..is there any other way? thanks
0
zizi21
Asked:
zizi21
1 Solution
 
CPlusJavaCSharpCommented:
Well a text field-

JTextArea jtaDes = new JTextArea();

...
jtaDes.setEditable(false);

try the above...
0
 
zizi21Author Commented:
thanks:-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now