SwingToolkit.add(textField, this); SwingToolkit.copyAwtProperties(textField, this);
this.textField = textField; SwingToolkit.add(textField, this); SwingToolkit.copyAwtProperties(textField, this);
    public SwingTextFieldPeer(TextField textField) {        SwingToolkit.add(textField, this);        SwingToolkit.copyAwtProperties(textField, this);		setText(textField.getText());		setColumns(textField.getColumns());		setEditable(textField.isEditable());    }