Window Location Applet

Posted on 2003-03-28
Medium Priority
Last Modified: 2010-04-06
I Have An Applet The Has 3 Buttons On It:
   ButtonA, ButtonB, and ButtonC
When I Click On ButtonA, I Want The Browser Window Location To Change Just As If I Had Done
window.location = "www.abc.com" in javascript

can you please help, thanx
Question by:Joshua Sprague
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 53

Expert Comment

ID: 8230858
You might have more luck getting a response to this if you post it in the JAVA topic area.

LVL 12

Accepted Solution

ahosang earned 375 total points
ID: 8240701
do you yourself write the java code for the applet? I mean you'll have to addEventHandler to the button and call:
try {
  getAppletcontext().showDocument(new URL("http://www.abc.com"));
} catch (MalformedURLException me) {}

Expert Comment

ID: 8255688
What's wrong with javascript?

Why would you use a java applet to emulate something javascript does better?
WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

LVL 12

Expert Comment

ID: 8256341
need any help??

Author Comment

by:Joshua Sprague
ID: 8630936
sorry i took way too long to get back to you on this, i have been extremely bussy l8ly, sorry again. and thanx
LVL 12

Expert Comment

ID: 8632128
OK, thanks for coming back to it.

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question