Results 1 to 12 of 12
Thread: Connecting two Applets/JApplets
- 07-10-2010, 11:11 AM #1sahildave1991 Guest
Connecting two Applets/JApplets
Is there a way to connect two java applets i.e. i want to call another applet program from one.
IT GOES LIKE THIS !!!
i made a JApplet program in which there are few buttons and whenever a user clicks a button, the related JApplet program should open. How should i do it....
Why not configure the second window as a JDialog and have the initial applet open the JDialog?
- 07-10-2010, 11:52 AM #3sahildave1991 Guest
the second programs are really big....i cant configure them....is there any other way ???
- 07-10-2010, 02:08 PM #4whenever a user clicks a button, the related JApplet program should open.
You'd need to call the applet methods(init(), etc) to get the applet to work properly.
Or do you want to send an HTTP GET request to the server for another HTML page with the new applet in it?
- 07-10-2010, 03:35 PM #5sahildave1991 Guest
@norm :: i got NOTHING !!!!!!!!!!!!! pls explain in simple lang...i am new to all this...
- 07-10-2010, 03:43 PM #6
- 07-10-2010, 03:50 PM #7connect two java applets
To run them both at the same time in the same browser invocation.
Or to have one applet have the browser call the server and ask it to load an HTML page with the second applet. Read the AppletContext and Applet API doc for methods to do that.
- 07-10-2010, 03:55 PM #8
- 07-10-2010, 04:35 PM #9sahildave1991 Guest
guys pls use simple words..... AppletContext, API doc, boilerplate code....wat are all these :( :mad:
- 07-10-2010, 04:40 PM #11pls use simple words..... AppletContext, API doc,
is there any other way ??
- 07-10-2010, 05:07 PM #12
rentacoder). I'd say forget about it and start where everybody is supposed to start: install a JDK, write, compile and run your first "Hello World!" program and try to understand what you have done along the way. That way you save the world from a lot of crap, a lot of unnecessary threads in forums and you'll learn something. For now: forget about what you are attempting to do because you are not (yet) up to it.
- By mxb7642 in forum JDBCReplies: 5Last Post: 09-08-2009, 09:39 AM
- By ramachandran in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 05-13-2009, 07:15 AM
- By xcallmejudasx in forum JDBCReplies: 3Last Post: 04-16-2009, 08:09 PM
- By rmaadil in forum JDBCReplies: 7Last Post: 08-20-2008, 06:53 PM
- By fred in forum EclipseReplies: 1Last Post: 08-06-2007, 04:25 AM