diff options
author | Silenio Quarti <silenio> | 2004-06-02 19:53:43 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2004-06-02 19:53:43 +0000 |
commit | 576e4c76e143167a98ac017cf1f2d4a48b81c8b4 (patch) | |
tree | 2e3f93e9462dec7b2656c802ef99eb59ade5a4ab /bundles/org.eclipse.swt/Eclipse SWT AWT/gtk | |
parent | a2fb3a842232aca558a6dbf413530f1142004f3e (diff) | |
download | eclipse.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/gtk')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java index b9b254ed01..39fa8bc7f5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java @@ -66,6 +66,13 @@ static synchronized void loadLibrary () { * 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 |