summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2011-02-28 19:58:10 +0000
committerSilenio Quarti <silenio>2011-02-28 19:58:10 +0000
commit575b36ab66afdb9bae57e3dedb8597446a18465d (patch)
tree134db43db42d8ccccfb8243fe933f456f076417d
parent4130554613c5ffd5558ca2d94baff770e0c7ce5f (diff)
downloadeclipse.platform.swt-575b36ab66afdb9bae57e3dedb8597446a18465d.tar.gz
eclipse.platform.swt-575b36ab66afdb9bae57e3dedb8597446a18465d.tar.xz
eclipse.platform.swt-575b36ab66afdb9bae57e3dedb8597446a18465d.zip
API rename
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet352.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet352.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet352.java
index f76fc873f3..03017a2624 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet352.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet352.java
@@ -43,7 +43,7 @@ public class Snippet352 {
static Map<Long, CircleInfo> touchLocations = new HashMap<Long, CircleInfo>();
static int colorIndex = 0;
static final int PAINTABLE_COLORS = 15;
- static final int CIRCLE_RADIUS = 20;
+ static final int CIRCLE_RADIUS = 40;
public static void main (String [] args) {
final Display display = new Display ();
@@ -93,7 +93,7 @@ public class Snippet352 {
};
Canvas c = new Canvas(shell, SWT.NONE);
- c.setTouchEventsEnabled(true);
+ c.setTouchEnabled(true);
c.setSize(800, 800);
c.addTouchListener(tl);
c.addPaintListener(pl);