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 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 497

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: 39570
    
  27
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).


Ping & DNS - updated with new look and Ping home screen widget
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 497

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?
 
Similar Threads
UPLOAD IMAGE and OTHER DATA
Two submit buttons.
Two submit buttons in a form?
Form submission and iFrame
success alert using javascript