FIX: Controls Not Visible in a JAVA ApplicationLast reviewed: January 29, 1998Article ID: Q163721 |
The information in this article applies to:
SYMPTOMSControls in a dialog resource, created using the Java Resource Wizard in a java application do not appear when the java application is loaded.
RESOLUTIONTo work around the problem, move the call to resize the frame in main() in the AppWizard generated code to the end of function main(). Following is the AppWizard generated code modified with the workaround:
... public static void main(String args[]) {... frame.show(); frame.hide(); // Move the following call to the end of the function // frame.resize(frame.insets().left + frame.insets().right // + 320, // frame.insets().top + frame.insets().bottom // + 240); ... applet_resj.start(); frame.show(); // After modification frame.resize(frame.insets().left + frame.insets().right + 320, frame.insets().top + frame.insets().bottom + 240); } ... STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual J++ 1.1.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/ http://support.microsoft.com/support/java/ Keywords : kbtool WizardIss Technology : kbInetDev Version : 1.0 Platform : WINDOWS Issue type : kbbug Solution Type : kbfix |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |