Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2004-06-02 19:53:43 +0000
committerSilenio Quarti2004-06-02 19:53:43 +0000
commit576e4c76e143167a98ac017cf1f2d4a48b81c8b4 (patch)
tree2e3f93e9462dec7b2656c802ef99eb59ade5a4ab /bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt
parenta2fb3a842232aca558a6dbf413530f1142004f3e (diff)
downloadeclipse.platform.swt-576e4c76e143167a98ac017cf1f2d4a48b81c8b4.tar.gz
eclipse.platform.swt-576e4c76e143167a98ac017cf1f2d4a48b81c8b4.tar.xz
eclipse.platform.swt-576e4c76e143167a98ac017cf1f2d4a48b81c8b4.zip
58308
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java
index 7bbf8f5da6..fe94907b46 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java
@@ -37,6 +37,13 @@ public class SWT_AWT {
* the AWT components that will be embedded within the composite. In order
* for the embedding to succeed, the composite must have been created
* with the SWT.EMBEDDED style.
+ * <p>
+ * IMPORTANT: As of JDK1.5, the embedded frame does not receive mouse events.
+ * When a lightweight component is added as a child of the embedded frame,
+ * the cursor does not change. In order to work around both these problems, it is
+ * strongly recommended that a heightweight component such as <code>java.awt.Panel</code>
+ * be added to the frame as the root of all components.
+ * </p>
*
* @param parent the parent <code>Composite</code> of the new <code>java.awt.Frame</code>
* @return a <code>java.awt.Frame</code> to be the parent of the embedded AWT components

Back to the top