Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2004-11-30 00:52:17 +0000
committerFelipe Heidrich2004-11-30 00:52:17 +0000
commitd61a1b08ec3b0dd33f8d0c6f871fc95d7f33cbbc (patch)
treea45814cf07bea2ec18771873903b72c469b183f6 /examples
parentaeb3b7436c74602dc5cab55211325feca6324c52 (diff)
downloadeclipse.platform.swt-d61a1b08ec3b0dd33f8d0c6f871fc95d7f33cbbc.tar.gz
eclipse.platform.swt-d61a1b08ec3b0dd33f8d0c6f871fc95d7f33cbbc.tar.xz
eclipse.platform.swt-d61a1b08ec3b0dd33f8d0c6f871fc95d7f33cbbc.zip
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet62.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet62.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet62.java
index 2f7ff21bc8..4277b13fbd 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet62.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet62.java
@@ -37,6 +37,8 @@ public static void main (String [] args) {
if ((e.stateMask & SWT.BUTTON1) != 0) string += " BUTTON1";
if ((e.stateMask & SWT.BUTTON2) != 0) string += " BUTTON2";
if ((e.stateMask & SWT.BUTTON3) != 0) string += " BUTTON3";
+ if ((e.stateMask & SWT.BUTTON4) != 0) string += " BUTTON4";
+ if ((e.stateMask & SWT.BUTTON5) != 0) string += " BUTTON5";
System.out.println (string);
}
};

Back to the top