

public class EchoTextBoxWidget extends marimba.gui.TextBoxWidget {

	private char fillChar = 0;

	private char fillArray = new char [4];



    public EchoTextBoxWidget() {

		super();

    }



    /**

     * Constructor with value.

     */

    public EchoTextBoxWidget(String text) {

		super (text);

    }



    /**

     * Constructor with value for editing.

     */

    public EchoTextBoxWidget(String text, boolean editable, int style) {

		super (text, editable, style);

    }



	public void setEchoCharacter (char echoChar) {



	}



	public char[] getTextChars() {

		if (fillChar != 0) {

			if (fillArray.length() < text.length()) 

				fillArray = new char [text.length()];

			

			for (int i = 0; i < len; i++) {

				fillArray[i] = fillChar;

			}

		}

		else

			return text;

    }



}