[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

web browser control in java

Posted on 2003-11-23
12
Medium Priority
?
316 Views
Last Modified: 2012-08-13
hi
how Can I add web browser control to my java applet program.
0
Comment
Question by:hansol1
[X]
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
  • 6
  • 3
  • 2
12 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 9809210
 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
 
LVL 35

Expert Comment

by:TimYates
ID: 9809607
You can use a JEditorPane, and set its contentType to text/html
0
 

Author Comment

by:hansol1
ID: 9810481
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:hansol1
ID: 9816077
hi
JEditorPane is for java swing.wat will I use in case of applet.I try with EditorPane but it give error.
thx
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9816627
If you are not using Swing, there is nothing you can do :-(

AWT didn't support HTML
0
 

Author Comment

by:hansol1
ID: 9823692
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
 
LVL 35

Accepted Solution

by:
TimYates earned 200 total points
ID: 9823708
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
 
LVL 35

Expert Comment

by:TimYates
ID: 9823717
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
 
LVL 35

Expert Comment

by:TimYates
ID: 9929374
Hope this helped :-)
0
 
LVL 35

Expert Comment

by:girionis
ID: 9940393
 I agree with your suggestion, points to Tim.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

649 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