The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001



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.


Have u tried this??

Posted by Kim on August 24, 2001 at 12:27 AM

Firstly, I am not very sure what you have said, but you can try this few lines, which should be able to work. All you have to do is use them apprioprately. You can also try using Textfield instead of JTextfield.
example tf is yr JTextfield.
String text = tf.getText(); //to get what u type in the field
tf.setText("What u want")
/*to set the textfield with text what u want */
StringBuffer a =new StringBuffer();
I do not have the posting of the text to the chart, I try to find it for you. But in the meantime, u can try this(or if u already tried, then I cannot help.)


Sponsored Links

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