A component that interprete html-javaScript code that is part of a JDialog
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Marcos_Cisneros
Posted On:   Tuesday, June 11, 2002 01:18 PM

I am finding how to get in a JDialog, a component that shows a web page, this component has to work as a web browser but its important that works with javaScript too. The owner application will be a JFrame and is client-side application. I have heard that is possible to do that but only with html support but up to now I don't know how. If some of you could help me will be great. Thanks Acme acme@tec.com.mx tnks.

Re: A component that interprete html-javaScript code that is part of a JDialog

Posted By:   Mike_Friedrich  
Posted On:   Tuesday, June 11, 2002 11:27 PM

What you are looking for is the class javax.swing.JTextPane. Set the content type to "text/html". I don't know if javascript is supported.


Reagards, Mike

About | Sitemap | Contact