mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-02-03 00:33:09 +00:00
Added forceActive.
This commit is contained in:
parent
0ad58032bb
commit
93784072c6
@ -64,6 +64,7 @@ public class SwtAppleCommander implements Listener {
|
|||||||
imageManager = new ImageManager(display);
|
imageManager = new ImageManager(display);
|
||||||
SwtAppleCommander application = new SwtAppleCommander();
|
SwtAppleCommander application = new SwtAppleCommander();
|
||||||
Shell shell = application.open(display);
|
Shell shell = application.open(display);
|
||||||
|
shell.forceActive();
|
||||||
|
|
||||||
while (!shell.isDisposed()) {
|
while (!shell.isDisposed()) {
|
||||||
if (!display.readAndDispatch()) display.sleep();
|
if (!display.readAndDispatch()) display.sleep();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user