try this .......... public void actionPerformed(ActionEvent A){ AppletContext appcon=getAppletContext(); appcon.showDocument("url of the page which contains the second applet","name of the frame"); }
An appletViewer is meant to be a "not fully functional browser". Just for testing basic applets. So the answer is - NO. You will have to test in a browser.
"JavaRanch, where the deer and the Certified play" - David O'Meara
But how to give a link in applet if we r using drawString method to display the text which when pressed should open another page? or some other method should b used to draw the text? pls reply soooon. Thanks
try Using Mouse Listener to check out the Point that is clicked inside the text area. Then you will be able to get a click on the Text. then the same procedure can be adopted.
Without deviation from the norm, progress is not possible - Zappa. Tiny ad: