Run the provided test case in a browser or appletViewer
and notice that the applet doesn't get initially focus
Expected:
Applet should get focus after it was loaded
Current:
Applet doesn't get focus
see 6471783 (item 1 & 2 from description)
for related problems
import java.applet.Applet;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
public class AwtApplet extends Applet {
public void init() {
super.init();
addFocusListener(new FocusListener() {
public void focusGained(FocusEvent e) {
System.out.println("AwtApplet.focusGained");
}
public void focusLost(FocusEvent e) {
}
});
}
}