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 activating an applet after clicking submit button. .  . Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply 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: 2329
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: 2329
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?
 
 
subject: activating an applet after clicking submit button. . .
 
Threads others viewed
creating textbox
disable the submit button after clicking
Authorization problem (!!!NOT SOLVED!!!)
Passing parameter value from jsp to action class
opening a word doc
developer file tools