在我的SWT应用程序中,我在SWT外壳中有某些组件。现在我如何根据显示窗口的大小自动调整这些组件的大小。Displaydisplay=newDisplay();Shellshell=newShell(display);GroupouterGroup,lowerGroup;Texttext;publictest1(){GridLayoutgridLayout=newGridLayout();gridLayout.numColumns=1;shell.setLayout(gridLayout);outerGroup=newGroup(shell,SWT.NONE);GridDatadata