Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

a problem with JBuilder

  Asked By: Pedro    Date: Sep 30    Category: Java    Views: 754
  

I have a problem with calling an applet from another applet in
JBuilder7. The below code in the first applet(caller) opens a new
browser for the second one, but running the same code in Jbuilder
has no effect:


try {
url=new URL "http://localhost/project/classes/SecondApplet.html");
getAppletContext().showDocument(url,"");
}catch(MalformedURLException me) {
System.out.println("Coudln't open URL");
}

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Bian Nguyen     Answered On: Sep 30

If you are using appletviewer in Jbuilder to run the applet, it is obvious that there is no mechanism for inter applet  communication in applet viewer. This feature is just available in browsers(My answer is according to jdk 1.2 & I don't know if there is also correct in 1.4).

 
Didn't find what you were looking for? Find more on a problem with JBuilder Or get search suggestion and latest updates.




Tagged: