File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes JApplet Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "JApplet Problem" Watch "JApplet Problem" New topic
Author

JApplet Problem

Abhradeep Kundu
Greenhorn

Joined: Apr 13, 2007
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 41102
    
  45
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 ]

Ping & DNS - my free Android networking tools app
Abhradeep Kundu
Greenhorn

Joined: Apr 13, 2007
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 41102
    
  45
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?
 
 
subject: JApplet Problem
 
Similar Threads
Java Policy file
SSLException: untrusted server cert chain
Java Policy File?
Getting parameter values from user and passing it t o applets
problem with applet