aspose file tools*
The moose likes Applets and the fly likes How to call variables in one applet using another applet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "How to call variables in one applet using another applet?" Watch "How to call variables in one applet using another applet?" New topic
Author

How to call variables in one applet using another applet?

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 499

In my project, I have to create two applets. Those are parts of registration form. User has to give his personal details in the first form and click OK button. So it will take you to the next applet which will take details about Qualifications. There is a submit button. When the user clicks on that submit button, details in the both form should save in one file. That is the real case. Please help me.


Are you better than me? Then please show me my mistakes..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42930
    
  68
Why two applets? Have you considered having just one applet, and using a CardLayout to switch between the two parts of it? That would make handling the data much simpler (not to mention easier to develop and easier to use).
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 499

Thank you very much for the reply. Don't know how to thank you. That was the exact thing I was looking for. Anyway here is my code.



As you can see, there is an error, which I can't understand why. Please help me to solve this. Thanks again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call variables in one applet using another applet?