Exemplo n.º 1
0
 protected void doTearDown() throws Exception {
   theShell.dispose();
   theShell = null;
   //		img.dispose();
   //		img2.dispose();
   super.doTearDown();
 }
Exemplo n.º 2
0
 protected void doSetUp() throws Exception {
   super.doSetUp();
   theShell = new Shell(Display.getCurrent(), SWT.NONE);
   theShell.setBounds(0, 0, 1024, 768);
   theShell.setVisible(true);
   img = UIPerformancePlugin.getImageDescriptor("icons/anything.gif").createImage();
   img2 = UIPerformancePlugin.getImageDescriptor("icons/view.gif").createImage();
 }