This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I cannot see the Warning for a Frame in an Applet

 
Ji Wang
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
With a test code below, I am trying to verify the warning for display a Frame in an Applet. However, I could not see the warning on the Frame title.
What is the problem?
Ji
====================================

import java.applet.Applet;
import java.awt.*;
public class AppletFrame extends Applet {
public void init() {
Frame f = new Frame("Frame in an Applet");
f.setBounds(10, 10, 100, 100);
f.setVisible(true);
}
}
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What warning?
 
Ji Wang
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cindy:
I am expecting a warning saying that the frame cannot be trusted or there is a security violation.
Ji

Originally posted by Cindy Glass:
What warning?

 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I got a message in the status bar saying "UNSIGNED JAVA APPLET WINDOW";
Running jdk1.2 on WinNT in Netscape.
Just a minute . . . OK in IE I get "Warning: Applet Window" on the line.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic