web browser control in java

hi
how Can I add web browser control to my java applet program.
hansol1Asked:
Who is Participating?
 
TimYatesConnect With a Mentor Commented:
That's not a java applet...

That's an IFRAME, if you look at the HTML source code for the page, it is:

<!--Begin LivePerson Chat Window Embed-->
                        <iframe src="http://server.iad.liveperson.net/hc/77386065/?cmd=file&file=visitorWantsToChat&site=77386065&special=bgcolor:B7CAD8,
chatImage:http://209.25.154.82/livepcsupport-org/pc1click/images/dude1.gif,
style:embedded" width="472" height="320" scrolling="no" frameborder="0"><font color="#FFFFFF"></font></iframe>
                        <!--End LivePerson Chat Window Embed -->

So that is just a native HTML way of doing things...

Tim
0
 
girionisCommented:
 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.
0
 
TimYatesCommented:
You can use a JEditorPane, and set its contentType to text/html
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
hansol1Author Commented:
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
0
 
hansol1Author Commented:
hi
JEditorPane is for java swing.wat will I use in case of applet.I try with EditorPane but it give error.
thx
0
 
TimYatesCommented:
If you are not using Swing, there is nothing you can do :-(

AWT didn't support HTML
0
 
hansol1Author Commented:
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
0
 
TimYatesCommented:
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 :-)
0
 
TimYatesCommented:
Hope this helped :-)
0
 
girionisCommented:
 I agree with your suggestion, points to Tim.
0
All Courses

From novice to tech pro — start learning today.