rootShell = new Shell(display, SWT.NO_TRIM);
rootShell.setFullScreen(true);
Rectangle bounds = display.getBounds();
rootShell = new Shell(display, SWT.NO_TRIM);
rootShell.setFullScreen(true);
Rectangle bounds = display.getBounds();
rootShell.setSize(bounds.width, bounds.height);
} else {
rootShell = new Shell(display, SWT.CLOSE | SWT.RESIZE);
rootShell.setSize(bounds.width, bounds.height);
} else {
rootShell = new Shell(display, SWT.CLOSE | SWT.RESIZE);
}
rootShell.open();
// rootShell.layout(true, true);
if (toolBarShell != null) {
}
rootShell.open();
// rootShell.layout(true, true);
if (toolBarShell != null) {
- Shell shell = new Shell(rootShell.getDisplay(), SWT.SHELL_TRIM);
+ Shell shell = isFullscreen() ? new Shell(rootShell, SWT.SHELL_TRIM)
+ : new Shell(rootShell.getDisplay(), SWT.SHELL_TRIM);