Changeset 154 for trunk/tests/SWT/java
- Timestamp:
- Jun 16, 2009, 11:33:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/SWT/java/SWT009_09.java
r153 r154 31 31 32 32 void initComponents() { 33 Scale scaleH = new Scale(shell, SWT.NULL);33 final Scale scaleH = new Scale(shell, SWT.NULL); 34 34 Scale scaleV = new Scale(shell, SWT.VERTICAL); 35 35 // … … 43 43 scaleH.addListener(SWT.Selection, new Listener() { 44 44 public void handleEvent(Event event) { 45 String string = "SWT.NONE"; 46 System.out.println("Scroll detail -> " + string); 45 System.out.println("Scroll detail -> " + scaleH.getSelection()); 47 46 } 48 47 });
Note:
See TracChangeset
for help on using the changeset viewer.