Click « JTextArea « Java Swing Q&A





1. on click add dynamic text area -like object in Java    stackoverflow.com

The title is a bit confusing, but I will be using Java and Jframe. Basically, I want to be able to click anywhere on the form and have a "text area/box" ...

2. Right Click in a TextArea problem    coderanch.com

First off, I advise you not to have your GUI class implement the MouseListener. It would be cleaner to just create an anonymous inner class. Next of all, you may have better luck getting decent responses if you show us compilable code. I don't want to see your whole program, but rather you should condense your code into the smallest bit ...

4. click to clear jtextarea...    forums.oracle.com

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 ...

5. one click line select in jtextarea    forums.oracle.com