Originally posted by johny sill: Thanks for reply,
is there any other way,
Pls tell me,
Thaks in advance
Because JavaRanch is an international forum, many of our members are not native English speakers. For that reason, it's important that we all try to write clear, standard English, and avoid abbreviations and SMS shortcuts like Pls instead of Please. See here for more of an explanation. Thanks for understanding.
Joined: Mar 22, 2005
OK, so AJAX has nothing to do with this. There are two ways an applet (doesn't matter if it's Swing or AWT) can access web pages.
First, it can instruct the browser it's embedded in to show a particular URL in a frame. That's what the code you have does.
Second, it can access a URL which returns some data that the applet processes in order to display something. It sounds as if that's what you're trying to do. This FAQ wiki page talks about that.