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.


JTextField woes

Posted by Jesse on August 15, 2001 at 9:25 PM

This is going to sound silly to neraly everyone I'm sure. But this particualr problem is quickly giving me an ulcer. Mostly for the fact it is, as far as I can tell completely unexplainable. Here's the setup. I am writing a program that is a revision of an old one. Basically taking the old idea which was pretty reasonable and adding in new things and features to make it a really good piece o' code. Here the current problem.... I have these JTextField showing values for a particular plot on the screen, the user can go over to em, plop in new values and hit update and the chart should re-chart itself and show what would happen given the values you just entered. The problem is.. the JTextFields never catch on to the fact that their string or values have been changed at all. I have debugging line in the code showing clear as day that despite having typed a big old '3' in the box 1.5 is still showing from the start-up. Any ideas???


Sponsored Links

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