Difference between revisions of "Microsoft KB Archive/169808"

From BetaArchive Wiki
m (Text replacement - """ to """)
m (Text replacement - "&" to "&")
 
Line 66: Line 66:
 
== MORE INFORMATION ==
 
== MORE INFORMATION ==
  
To disable this message so that this warning does not appear when you run the applet, you need to assert SYSTEM permissions and Cab&Sign your applet's class files.
+
To disable this message so that this warning does not appear when you run the applet, you need to assert SYSTEM permissions and Cab&Sign your applet's class files.
 
=== Steps to Reproduce Problem ===
 
=== Steps to Reproduce Problem ===
  
Line 86: Line 86:
 
<li>This invokes the Browser and a Frame window with the title "A popup window" appears. The window, which is resized inconsistently, has the Warning message in its status bar.</li></ol>
 
<li>This invokes the Browser and a Frame window with the title "A popup window" appears. The window, which is resized inconsistently, has the Warning message in its status bar.</li></ol>
  
You can disable the warning message by asserting SYSTEM permissions, and Cab&amp;Signing your applet.
+
You can disable the warning message by asserting SYSTEM permissions, and Cab&Signing your applet.
  
 
</div>
 
</div>
Line 93: Line 93:
 
== REFERENCES ==
 
== REFERENCES ==
  
For additional information about Cab&amp;Signing and asserting permissions, please refer to the following Knowledge Base article:
+
For additional information about Cab&Signing and asserting permissions, please refer to the following Knowledge Base article:
 
<div class="indent">
 
<div class="indent">
  

Latest revision as of 12:29, 21 July 2020

Article ID: 169808

Article Last Modified on 6/14/2006



APPLIES TO

  • Microsoft Visual J++ 1.0 Standard Edition
  • Microsoft Visual J++ 1.1 Standard Edition
  • Microsoft Software Development Kit for Java 1.0
  • Microsoft Software Development Kit for Java 1.5
  • Microsoft Software Development Kit for Java 1.51
  • Microsoft Software Development Kit for Java 2.02
  • Microsoft Software Development Kit for Java 2.01
  • Microsoft Software Development Kit for Java 2.02
  • Microsoft Software Development Kit for Java 3.0
  • Microsoft Software Development Kit for Java 3.1
  • Microsoft Software Development Kit for Java 3.2



This article was previously published under Q169808

SUMMARY

When you create a frame from within a Java applet and run this applet outside the Developer Studio environment, the frame sizing is inconsistent and the following Warning message also appears in the frame's Status Bar:

Warning: Applet window

MORE INFORMATION

To disable this message so that this warning does not appear when you run the applet, you need to assert SYSTEM permissions and Cab&Sign your applet's class files.

Steps to Reproduce Problem

  1. Create a default Java Applet using the Applet Wizard.
  2. At the beginning of your project class, which extends the applet, include the following:

    Frame window;
                            
  3. In the init() function include the following code, which creates and shows the frame:

    public void init()
    {
      window = new Frame("A popup window");
      window.resize(150,150);
      window.show();
    }
                            
  4. Build the project.
  5. Execute the project's HTML file.
  6. This invokes the Browser and a Frame window with the title "A popup window" appears. The window, which is resized inconsistently, has the Warning message in its status bar.

You can disable the warning message by asserting SYSTEM permissions, and Cab&Signing your applet.

REFERENCES

For additional information about Cab&Signing and asserting permissions, please refer to the following Knowledge Base article:

193877 How To Making your Java Code Trusted in Internet Explorer


For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:

Keywords: kberrmsg kbhowto KB169808