Popup « JTextArea « Java Swing Q&A





1. How can I display the output of an array list in a popup window using Java?    stackoverflow.com

Below is what I want to display:

JTextArea result = new JTextArea(10,20);
ArrayList<String> result_set = gen.getResult();
for(Iterator it = result_set.iterator(); it.hasNext();)
{
    String data = (String)it.next();
    result.append(data+"\n");
}
How can I ...

2. Popup whith JTextArea    coderanch.com

3. Java Popup .hide() method is leaving a grey box in the shape of the JTextArea I use.    java-forums.org

Hi, I am trying to have a comment box show up when I move into an area on a canvas, and then hide when I move out of this area. I have a short piece of code that kind of shows the problem I am having... In the example, the popup is having problems with the hiding. In my version (which ...