posted 18 years ago
Well that sounds even simpler..
I guess u can use the right constructor for the textfield
JTextField txt=new JTextField("String",30);
so now u have a textfield which will be shown with size 30 on ur UI..irrespective of the stringlength displayed inside this field.
SCJP 1.4 (90%)<br />SCWCD 1.4 (88%)