-
Need help i connecting two applets
I am new to the java. I have created some applets. in the first applet I have two buttons called 1)Registered Users 2)Registration. When I click the appropriate button I must be able to navigate the corresponding other applets.
I am not using any Servlets in my project.
Can any one help me out how to navigate from one applet to another with the button click.
Thanks in advance
RamPraveenBabu.
-
If you by 'navigate' mean 'open a new applet page' you could do this by the
applet method getAppletContext() like:
try {
myApplet.getAppletContext().showDocument(new URL("http://www.whatevver.com/someFolder/anotherAppletPage.html"),"_top");
} catch (MalformedURLException me) {
me.printStackTrace();
}
-
He, maybe it should read IANTTJ rather than just IANTJ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks