This content has been marked as final. Show 1 reply
You should check the Swing tutorial http://docs.oracle.com/javase/tutorial/uiswing/components/formattedtextfield.html and make sure you use JFormattedTextField and MaskFormatter properly.
As far as asking help here goes, you should post an SSCCE (http://sscce.org).
- For example I have no idea what q1is and how it "creates a formatter the regular way", nor what a DesignGridLayout is and how it could be related to your problem.
- Moreover, your disclaimer about using static fields makes me suspect you don't use keyword static properly :)... and using "static fields" improperly across the various widgets might be a reason why the dynamic behavior of the program is surprising.