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 Unable to call one applet to another applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Unable to call one applet to another applet" Watch "Unable to call one applet to another applet" New topic
Author

Unable to call one applet to another applet

Naren verma
Greenhorn

Joined: Sep 10, 2013
Posts: 9
Hi

I have created 2 applet.
1)main.java
2)emp.java

in main applet i created one button(click here)
if any one click on button emp.java applet wil open?

may i know the codding? How to call one applet to another applet
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
My first question is: why do you want two applets? Why can't both be folded into one, possibly using a CardLayout?


Ping & DNS - my free Android networking tools app
Naren verma
Greenhorn

Joined: Sep 10, 2013
Posts: 9
Because of my main.java program is login form and emp.java program is emp details.

How to cal emp.java applet when click on login.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

That's no reason.

You didn't even look at the CardLayout that Ulf suggested, did you?


luck, db
There are no new questions, but there may be new answers.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
Yes, it sounds like both parts belong together - so it would make sense to keep them in the same applet.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to call one applet to another applet
 
Similar Threads
How to kill an applet
How to call one applet from another?
Opening/Calling up applet window from an Applet application
Avoid several launches of the same applet at the same time within the same page
Need help in linking two applets(Navigation)