Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2005-01-25 17:13:41 +0000
committerSilenio Quarti2005-01-25 17:13:41 +0000
commit4496e706960cebab842f7665569b3fb70b623133 (patch)
treebc55173cbe16a4b27c51dfc8028a355874f0e67d
parente7fafde2bf55c60a22b71a693927647db6559215 (diff)
downloadeclipse.platform.swt-4496e706960cebab842f7665569b3fb70b623133.tar.gz
eclipse.platform.swt-4496e706960cebab842f7665569b3fb70b623133.tar.xz
eclipse.platform.swt-4496e706960cebab842f7665569b3fb70b623133.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
index 0b1c15a0ba..d9d1940176 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
@@ -168,7 +168,7 @@ public static Frame new_Frame (final Composite parent) {
public void handleEvent (Event e) {
EventQueue.invokeLater(new Runnable () {
public void run () {
- if (Library.JAVA_VERSION >= Library.JAVA_VERSION(1, 4, 0)) {
+ if (Library.JAVA_VERSION < Library.JAVA_VERSION(1, 4, 0)) {
frame.dispatchEvent (new WindowEvent (frame, WindowEvent.WINDOW_ACTIVATED));
frame.dispatchEvent (new FocusEvent (frame, FocusEvent.FOCUS_GAINED));
} else {
@@ -183,7 +183,7 @@ public static Frame new_Frame (final Composite parent) {
public void handleEvent (Event e) {
EventQueue.invokeLater(new Runnable () {
public void run () {
- if (Library.JAVA_VERSION >= Library.JAVA_VERSION(1, 4, 0)) {
+ if (Library.JAVA_VERSION < Library.JAVA_VERSION(1, 4, 0)) {
frame.dispatchEvent (new WindowEvent (frame, WindowEvent.WINDOW_DEACTIVATED));
frame.dispatchEvent (new FocusEvent (frame, FocusEvent.FOCUS_LOST));
} else {

Back to the top