Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JApplet Problem

 
Abhradeep Kundu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a code. the code starts an Applet. I am using jre1.5. While I am running the code the applet is going back to the html file from where this applet is being called... Can anybody tell me what to do to prevent the applet to go back...........But previously when I was using jre1.4 this problem was not there.
[ April 16, 2007: Message edited by: Bear Bibeault ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

What does "the code the applet is going back to the html file from where this applet is being called" mean? You have a web page that contains an applet, then you open that page and the applet starts to run. Then exactly what happens?
[ April 13, 2007: Message edited by: Ulf Dittmer ]
 
Abhradeep Kundu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See I have an html file where I embed an Applet ok.. Now when I try to open the html file and launching the Applet that applet goes back to the html but it should stay infront of it.... in jre1.5 i am having this problem.... but in jre1.4 i am not having this type of problem...
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm still not following. An applet is part of an HTML page, it is neither in front nor behind it. Or are saying that the applet opens an extra Java window, which then is not in front of the main browser window but behind it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic