• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to call variables in one applet using another applet?

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic