Would any one please let me know how to add links in the applet. I have a ticker applet and if anyone clicks on a particular string, a Html page should be loaded. Thanks in advance. Sud
Sud, Try adding this method to your applet: // allows us to jump to other web pages private boolean linkTo(String theURLString) { try { URL theURL = new URL(theURLString); getAppletContext().showDocument(theURL, "_top"); } catch(MalformedURLException e) { // alert the user or handle it yourself return false; } return true; }
Post by:autobot
Evil is afoot. But this tiny ad is just an ad:
a bit of art, as a gift, that will fit in a stocking