@@ -196,11 +196,11 @@ * @exception HeadlessException if GraphicsEnvironment.isHeadless() * returns true. * @see java.awt.GraphicsEnvironment#isHeadless */ public TextField(String text, int columns) throws HeadlessException { - super(text); + super(text, true); this.columns = (columns >= 0) ? columns : 0; } /** * Construct a name for this component. Called by getName() when the