Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

Browser in Applet

I have an Applet
and i want to show a browser inside Applet
is there any way to do the same?
0
avya2k
Asked:
avya2k
  • 3
  • 3
  • 2
  • +2
1 Solution
 
WebstormCommented:
Hi avya2k,

You can open a new browser window :
  getAppletContext().showDocument(new URl("http://www.google.com"), "_blank")

0
 
maheshexpCommented:
0
 
Mayank SAssociate Director - Product EngineeringCommented:
What exactly do you mean by browser *inside* an Applet ;-) Ideally, the Applet should be in a browser :-)
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
GrandSchtroumpfCommented:
you can also use HotJava:
http://java.sun.com/products/hotjava/3.0/
0
 
GrandSchtroumpfCommented:
you can simply use a JEditorPane with an HtmlEditorKit.  that's if you don't need much functionalities.
0
 
avya2kAuthor Commented:
Hi maheshexp
I want the same thing as shown in URL
but it is saying that it can open only the same url or site and not any url outside the host as it is not signed

is there any other solution or control to show as browser control or Rich text control with properties simillar to TextField control

0
 
avya2kAuthor Commented:
Hi maheshexp
I want the same thing as shown in URL
but it is saying that it can open only the same url or site and not any url outside the host as it is not signed

is there any other solution or control to show as browser control or Rich text control with properties simillar to TextField control or TextArea Control

0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
 
maheshexpCommented:
take some seconds to load the page

            public static void main(String[] args)throws Exception {
            JEditorPane browser = new JEditorPane("http://www.google.com");
            JFrame f = new JFrame("Browser");
            f.setSize(400,400);
            f.getContentPane().add(browser);
            f.show();
      }
0
 
avya2kAuthor Commented:
I tried with above example but Rediff.com is show not completely
Is there any way to quick show the page properly all contents

0
 
maheshexpCommented:
>>Is there any way to quick show the page properly all contents
JEditorPane don't have full features like any browser...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now