Article ID: 191931
Article Last Modified on 11/24/2003
import java.applet.*;
import java.awt.*;
public class TestKey extends Applet
{
public void start()
{
Component c = this;
while(!(c instanceof Frame))
c = c.getParent();
Dialog d = new Dialog((Frame)c, "hi", false);
d.setBounds(200,200,200,200);
d.setLayout(null);
TextField t = new TextField();
t.setBounds(50,50,100,30);
d.add(t);
d.show();
}
}
<HTML>
<TITLE>IE 4.0 BackSpace Problem</TITLE>
<BODY>
<H1>Type characters with focus in the Dialog's Text field
and delete them using BackSpace Key</H1>
<hr>
<applet code="TestKey.class" width=400 height=475>
</applet>
<hr>
</BODY>
</HTML>
JVC TestKey.java
Additional query words: keystroke backspace delete
Keywords: kbbug kbfix KB191931