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); } }
"JavaRanch, where the deer and the Certified play" - David O'Meara
Ji Wang
Greenhorn
Joined: Feb 05, 2001
Posts: 13
posted
0
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
Joined: Sep 29, 2000
Posts: 8521
posted
0
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.