-
Java applet window
I have an applet window that launches, but everytime this happens the browser window runs over the top of it. How can i bring the applet to the front, have tried using toFront() but that works on applet windows and javascript works on the browser windows????
html file
<html>
<head>
<script src="gta.js"></script>
</script>
</head>
<body>
<p>
<a href="launchS.html">Click here to start Applet</a>
</p>
</body>
</html>
launcher html
<html>
<applet code = "Player.class" width = 400 height = 180>
<param name="song" value="Hello">
</applet>
</html>
The java uses a frame within an applet to create a seperate applet window
-
A frame inside an applet is something I have never heard of before... :)
If you are trying to launch a frame from an applet, e.g. make a separate window
somewhere outside the browser, then the browser decides if your applet is
going to be allowed to do that.