Added forceActive.

This commit is contained in:
Robert Greene 2004-01-18 19:04:50 +00:00
parent 0ad58032bb
commit 93784072c6

View File

@ -64,6 +64,7 @@ public class SwtAppleCommander implements Listener {
imageManager = new ImageManager(display);
SwtAppleCommander application = new SwtAppleCommander();
Shell shell = application.open(display);
shell.forceActive();
while (!shell.isDisposed()) {
if (!display.readAndDispatch()) display.sleep();