Home arrow static arrow Java Programming [Archive] - Linking applets
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Linking applets
This topic has 4 replies on 1 page.

Posts:21
Registered: 4/28/04
Linking applets  
Jun 11, 2004 4:01 AM



 
I have made some applets and now i want to link them.
please help me how could i do this.

Thank You
 

Posts:11
Registered: 6/1/04
Re: Linking applets  
Jun 11, 2004 8:30 AM (reply 1 of 4)



 
can you explain what you mean by link
 

Posts:21
Registered: 4/28/04
Re: Linking applets  
Jun 15, 2004 2:37 AM (reply 2 of 4)



 
Thanx for the response

Suppose I have made 2 applets app1 and app2. Now on clicking a button,say "next", on app1the app2 should be invoked/shown. This is what i want to do...

please guide me....
Thanks
 

Posts:6,147
Registered: 11/9/00
Re: Linking applets  
Jun 15, 2004 3:38 AM (reply 3 of 4)



 
I don't think you can do it that way. Rather you have to switch HTML pages, and the new page invokes the new Applet.

You can navigate your browser to a new page from an applet via the AppletContext.
 

Posts:14,142
Registered: 99-04-02
Re: Linking applets  
Jun 16, 2004 2:56 PM (reply 4 of 4)



 
Or use a CardLayout and have your content all in one applet.
 
This topic has 4 replies on 1 page.