dcsimg
How to Disable JTextArea?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sandeep_sahai
Posted On:   Thursday, August 8, 2002 08:20 AM

How to disable JTextArea?
I am using setEnabled(false) method to diable a text area in java application. But still I am able to write in that text area.

Is there any other way of disabling JTextArea? It there any way I can prevent the end user to write into the textarea?


Thanks
Sandeep Sahai


textarea.setEnabled(false);

Re: How to Disable JTextArea?

Posted By:   Anonymous  
Posted On:   Thursday, August 8, 2002 10:08 AM

I tried it didn't allow me to enter anything. I don't know how you are entering data into disabled textarea. Trye setEditable(false)
About | Sitemap | Contact