/*
test %W% %E%
@bug 4411534 4517274
@summary ensures that user's requestFocus() during applet initialization
is not ignored.
@author prs@sparc.spb.su area=appletviewer
@run shell AppletInitialFocusTest1.sh
*/
public void init() {
}
/*
* This applet is designed to be run only with appletviewer,
* so there always should be a toplevel frame.
*/
synchronized (lock) {
}
}
button1.addFocusListener(this);
button2.addFocusListener(this);
}
synchronized (lock) {
}
}
}
}
public void start() {
public void run() {
try {
synchronized (lock) {
}
} catch(InterruptedException e) {
}
}
});
}
}