Changeset 183 for trunk/tests/SWT/java
- Timestamp:
- Aug 27, 2009, 6:41:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/SWT/java/SWT009_07.java
r182 r183 32 32 void initComponents() { 33 33 shell.setText("Hello World Group"); 34 shell.setSize(2 00, 200);34 shell.setSize(290, 200); 35 35 shell.setText("A Group Example"); 36 36 final Group g = new Group(shell, SWT.SHADOW_ETCHED_IN); 37 g.set Size(110, 75);37 g.setBounds(5,5,260,90); 38 38 g.setText("Options Group"); 39 39 final Button b1; … … 41 41 final Button b3; 42 42 b1 = new Button(g, SWT.RADIO); 43 b1.setBounds(10, 2 0, 75, 15);44 b1.setText("Option One ");43 b1.setBounds(10, 25, 240, 15); 44 b1.setText("Option One, Opcion Uno"); 45 45 b2 = new Button(g, SWT.RADIO); 46 b2.setBounds(10, 35, 75, 15);47 b2.setText("Option Two ");46 b2.setBounds(10,45, 240, 15); 47 b2.setText("Option Two, Opcion Dos"); 48 48 b3 = new Button(g, SWT.RADIO); 49 b3.setBounds(10, 50, 80, 15);50 b3.setText("Option Three ");51 g.pack();52 g.setLocation(20, 20);49 b3.setBounds(10, 65, 240, 15); 50 b3.setText("Option Three, Opcion Tres"); 51 //g.pack(); 52 //g.setLocation(20, 20); 53 53 shell.open(); 54 54
Note:
See TracChangeset
for help on using the changeset viewer.