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