FileDocCategorySizeDatePackage
GroupShellExample3.javaAPI DocExample837Sun Oct 31 08:46:56 GMT 2004None

GroupShellExample3

public class GroupShellExample3 extends Object

Fields Summary
Display
d
Shell
s
Constructors Summary
GroupShellExample3()

        d = new Display();
        s = new Shell(d);
        s.setSize(250,250);
        s.setImage(new Image(d, "c:\\icons\\JavaCup.ico"));
        s.setText("A Shell Composite Example");
        final GroupExample ge1 = new GroupExample(s, SWT.SHADOW_ETCHED_IN, 
						"Option Group One" );
        ge1.setLocation(10,10);
        final GroupExample ge2 = new GroupExample(s, SWT.SHADOW_ETCHED_IN, 
						"Option Group Two" );
        ge2.setLocation(100,100);
        s.open();
        while(!s.isDisposed()){
            if(!d.readAndDispatch())
                d.sleep();
        }
        d.dispose();
    
Methods Summary