The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

An unique problem

Posted by Saurabh Ganguly on April 04, 2001 at 8:19 AM

Hi
Encouraged by the first reply I wanted to enquire about something else.
I have an unique problem.I am making a class which will act as a template.This should accept a numerical length and return a JTextArea such that if the user enters a value greater than the parameter passed then it should not enter these characters.This is working fine.But what I want is that a JScrollPane must be send back which contains this JTextArea.
I know this is easily possible.But my problem is that I have to use the setText and the getText methods in my calling program which are not supported by JScrollPane.
So how do I get about it?
If you are not clear with my problem please do reply back asking anything that will help you to understand my problem.
Looking forward to a quick reply.
Thank You
Saurabh Ganguly
04.04.2001



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us