summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGrant Gayed <grant_gayed@ca.ibm.com>2012-03-29 21:28:16 -0400
committerGrant Gayed <grant_gayed@ca.ibm.com>2012-03-29 21:34:59 -0400
commit928f180e7c790ac09fbc8144c7f2076b6a66ad80 (patch)
tree4efa20e174359bc819426907e9e54ce3f96d8792 /examples
parentc742be31d3e1604d8d4956fde8d816377bf5b0d0 (diff)
downloadeclipse.platform.swt-928f180e7c790ac09fbc8144c7f2076b6a66ad80.tar.gz
eclipse.platform.swt-928f180e7c790ac09fbc8144c7f2076b6a66ad80.tar.xz
eclipse.platform.swt-928f180e7c790ac09fbc8144c7f2076b6a66ad80.zip
revert inadvertent changes
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet307.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet307.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet307.java
index f04185f1bb..5595e64860 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet307.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet307.java
@@ -40,10 +40,10 @@ public static void main (String [] args) {
return;
}
browser.setText (createHTML ());
+ final BrowserFunction function = new CustomFunction (browser, "theJavaFunction");
browser.addProgressListener (new ProgressAdapter () {
public void completed (ProgressEvent event) {
- final BrowserFunction function = new CustomFunction (browser, "theJavaFunction");
browser.addLocationListener (new LocationAdapter () {
public void changed (LocationEvent event) {
browser.removeLocationListener (this);