File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JTextArea on JScrollPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextArea on JScrollPane" Watch "JTextArea on JScrollPane" New topic
Author

JTextArea on JScrollPane

Sanam Chandrasekaran
Greenhorn

Joined: May 05, 2004
Posts: 17
Hello,

I have a BufferImage displayed on a JScrollPane
and i want a JTextArea with vertical n horizontal scroll bars,

can we place a scrollpane on another existing scrollpane.

i.e i want a JTextArea with scrollbars to be placed on the image which is already displayed in scrollpane.


Could anone please help me with this.

Regards
Sanam
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
this post might answer this and your next 6 questions
(if I'm guessing correctly what you're trying to do)

http://forum.java.sun.com/thread.jsp?forum=57&thread=567904
Sanam Chandrasekaran
Greenhorn

Joined: May 05, 2004
Posts: 17
Hello,
Thanks a lot for ur reply,
I am basically developing an image viewer,
in which a image can be viewed, Zoomed in n out,
magnifier, mask(should be able to modify the image),
shoud be able to insert text on the image, etc,

If u have more idea n information, it would be kindful
if u could share

Thanks
Sanam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTextArea on JScrollPane