Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

click to clear jtextarea...

807605Jun 11 2007 — edited Jun 12 2007
I have an area for notes on a jframe i am working on, and it has default text to explain its purpose. My question is, if possible, how can i make it clear the text when they click on it if it is the default text, and if they do not type anything, then it goes back to the default text after they click a new text area or field or whatever?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2007
Added on Jun 11 2007
12 comments
468 views