Changeset 184 for trunk/tests/SWT/java


Ignore:
Timestamp:
Aug 27, 2009, 7:04:37 PM (16 years ago)
Author:
lpino
Message:

Addes another group to test independient selection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/SWT/java/SWT009_07.java

    r183 r184  
    3636            final Group g = new Group(shell, SWT.SHADOW_ETCHED_IN);
    3737            g.setBounds(5,5,260,90);
    38             g.setText("Options Group");
     38            g.setText("Options Group A");
    3939            final Button b1;
    4040            final Button b2;
     
    5151            //g.pack();
    5252            //g.setLocation(20, 20);
     53           
     54            //
     55             final Group g2 = new Group(shell, SWT.SHADOW_ETCHED_IN);
     56            g2.setBounds(5,105,260,90);
     57            g2.setText("Options Group B");
     58            final Button optionGrupoB_1;
     59            final Button optionGrupoB_2;
     60            final Button optionGrupoB_3;
     61            optionGrupoB_1 = new Button(g2, SWT.RADIO);
     62            optionGrupoB_1.setBounds(10, 25, 240, 15);
     63            optionGrupoB_1.setText("Option B One, Opcion Uno");
     64            optionGrupoB_2= new Button(g2, SWT.RADIO);
     65            optionGrupoB_2.setBounds(10,45, 240, 15);
     66            optionGrupoB_2.setText("Option B Two, Opcion Dos");
     67            optionGrupoB_3 = new Button(g2, SWT.RADIO);
     68            optionGrupoB_3.setBounds(10, 65, 240, 15);
     69            optionGrupoB_3.setText("Option B Three, Opcion Tres");
     70            //
     71           
    5372            shell.open();
    5473               
Note: See TracChangeset for help on using the changeset viewer.