Disable the backspace
<p>I'm making a type program, the user types the text over, this must be done without any fault. But when the user is typing he can do backspace in a word, this backspace is over when je press the space bar.</p>

<p>code:</p>

<p>//backSpace function</p>

<pre><code>public synchronized void backSpace(){

    if(ttext.length()&gt;0){
    ttext=ttext.substring(0,ttext.length()-1);
    }
    else{
            typetext.append(" ");
    }
}//end of backspace function
</code></pre>

<p>The problem is i want to disable the backspace function so when they typed the can't edit it </p>
