This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how can i display output text in a textArea of a jpanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how can i display output text in a textArea of a jpanel" Watch "how can i display output text in a textArea of a jpanel" New topic
Author

how can i display output text in a textArea of a jpanel

sk said
Greenhorn

Joined: Mar 30, 2011
Posts: 5
hello,
i have a tabbed pane with 3 jPanel.2 is for processing and another 1 is to display an output.
there is a button 'Generator' in both processing panel,after process the information,i want to display the output in a textarea in output panel.currently my code doesnt has error but the output doesnt displayed in textarea.this is my code (i show for 2 jpanel only).

Arun Chidam
Ranch Hand

Joined: May 08, 2006
Posts: 79
Have you added your output textarea in jpanel3, looking at your code there is not component added to jpanel3


SCJP 1.4, SCWCD 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i display output text in a textArea of a jpanel