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 Building Microservices this week in the Design 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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
My first question is: why do you want two applets? Why can't both be folded into one, possibly using a CardLayout?
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: 4999
    
    8

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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Yes, it sounds like both parts belong together - so it would make sense to keep them in the same applet.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Unable to call one applet to another applet
 
jQuery in Action, 3rd edition