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.


Did you hit the enter key??

Posted by Mark Lee on August 27, 2001 at 12:34 AM

The JTextField will not catch the newly entered value if you did not hit the "enter" key after entering the value. The JTextfield would most probably still hold the old value even though you erased the old one, and enter a new value (without hitting the "enter" key). Most probably you'll get the same old drawing eh? Hope that helps.


Sponsored Links

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