Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Java Applet Interview Questions and Answers

Ques. How do I select a URL from my Applet and send the browser to that page?
Ans. Ask the applet for its applet context and invoke showDocument() on that context object.

URL targetURL;
String URLString
AppletContext context = getAppletContext();
targetURL = new URL(URLString);
catch (MalformedURLException e)
// Code for recover from the exception
context. showDocument (targetURL);
Is it helpful? Yes No

Most helpful rated by users:

©2016 WithoutBook