aspose file tools*
The moose likes Applets and the fly likes activating an applet after clicking submit button. .  . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "activating an applet after clicking submit button. .  ." Watch "activating an applet after clicking submit button. .  ." New topic
Author

activating an applet after clicking submit button. . .

bothwell muyambo
Greenhorn

Joined: Oct 21, 2011
Posts: 8
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Oct 21, 2011
Posts: 8
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: activating an applet after clicking submit button. . .