diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java')
-rw-r--r-- | odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java index 1d405b9e62a3..8d36e0462af5 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java @@ -88,8 +88,8 @@ public class NativeView extends java.awt.Canvas /** * to guarantee right resize handling inside a swing container - * (e.g. JSplitPane) we must provide some informations about our - * prefered/minimum and maximum size. + * (e.g. JSplitPane) we must provide some information about our + * preferred/minimum and maximum size. */ public Dimension getPreferredSize() { @@ -140,8 +140,8 @@ public class NativeView extends java.awt.Canvas * window messages ... But if it doesn't check for an already registered * instance of this handler it will do it twice and produce a stack overflow * because such method call herself in a never ending loop ... - * So we try to use the JNI code one times only and safe already getted - * informations inside this class. + * So we try to use the JNI code one time only and save already getted + * information inside this class. */ public native int getNativeWindowSystemType(); private native long getNativeWindow(); // private! => use getHWND() with cache mechanism! |