Link to home
Start Free TrialLog in
Avatar of hansol1
hansol1

asked on

web browser control in java

hi
how Can I add web browser control to my java applet program.
Avatar of girionis
girionis
Flag of Greece image

 What exactly do you mean? I think you need to use JNI but if you be more specific we might be able to help you more.
You can use a JEditorPane, and set its contentType to text/html
Avatar of hansol1
hansol1

ASKER

hi tim
can u give me any link to use this editor.I will use it in place of text area.
Actually wat my need is ,to format text font,give so link.when user will click on tbat link ,link will open in a browser window.
If u have any idead for vc++ ,than U can see there webbrowser control.I just want to use the control like that.
thanks
Bye
Avatar of hansol1

ASKER

hi
JEditorPane is for java swing.wat will I use in case of applet.I try with EditorPane but it give error.
thx
If you are not using Swing, there is nothing you can do :-(

AWT didn't support HTML
Avatar of hansol1

ASKER

Hello
just you vist
pc1click.com/live.html.
after filling the form it will open the applet.link is
http://209.25.154.82/livepcsupport-org/pc1click/livepersonconnect.html
here,the control is using by the application,the same control I have to use .If it is Text area then how i give link in a sentence and all other functionality.
Please help
Thax
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
They have embedded an HTML page inside another HTML page to look like a an interactive applet/ocx/flash thing

but it is just HTML...

Quite cool though :-)
Hope this helped :-)
 I agree with your suggestion, points to Tim.