This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • 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
Hi All,

please have a look at the following code



In the code above, I am trying to save variables to use in another applet.

Please have a look at the following code


This is how I called the variable "text" in the first applet. I know this is wrong, but I really don't know the correct way. I have some examples in my book, but all of they are in CMD mode ...Please help me..Tell me hoe to call variables in one applet in another applet

Thanks
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Somebody please help me...At least tell me whether I have posted this in the wrong place...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic