Composite up = new Composite(shell, SWT.NONE); up.setBackgroundMode(SWT.INHERIT_FORCE); final Label lab = new Label(up, SWT.NONE); lab.setImage(“图片路径”); |
Composite up = new Composite(shell, SWT.NONE); up.setBackgroundMode(SWT.INHERIT_FORCE); final Label lab = new Label(up, SWT.NONE); lab.setImage(“图片路径”); |