diff options
author | Felipe Heidrich | 2004-11-30 00:52:17 +0000 |
---|---|---|
committer | Felipe Heidrich | 2004-11-30 00:52:17 +0000 |
commit | d61a1b08ec3b0dd33f8d0c6f871fc95d7f33cbbc (patch) | |
tree | a45814cf07bea2ec18771873903b72c469b183f6 | |
parent | aeb3b7436c74602dc5cab55211325feca6324c52 (diff) | |
download | eclipse.platform.swt-d61a1b08ec3b0dd33f8d0c6f871fc95d7f33cbbc.tar.gz eclipse.platform.swt-d61a1b08ec3b0dd33f8d0c6f871fc95d7f33cbbc.tar.xz eclipse.platform.swt-d61a1b08ec3b0dd33f8d0c6f871fc95d7f33cbbc.zip |
*** empty log message ***
-rw-r--r-- | examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet62.java | 2 |
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); } }; |