• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

activating an applet after clicking submit button. . .

 
bothwell muyambo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to view a different applet upon clicking submit button. how can i make this work in java applet. Guess its what you call external class calling. . help please.
 
Tim Moores
Bartender
Posts: 2946
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So the submit button is part of an applet? You can use the AppletContext.showDocument method to navigate to a different HTML page (which would contain the other applet).
 
bothwell muyambo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the class i want to access is called 'call.class' . where in the applet must i put this code. please may you give me the sample code. thank you
 
Tim Moores
Bartender
Posts: 2946
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You said "i want to view a different applet". Now you're saying "i want to access [...] 'call.class" - which is it? And what does it mean to "access a class" - call one of its methods?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic