By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,956 Members | 1,657 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,956 IT Pros & Developers. It's quick & easy.

Java | JPane WebBrowser

P: n/a

I wanted to use the JPane to view WebPages. Everything works fine and my
application would really be much smaller if I would not have to include
an external Browser library.

The only problem is: There are some Tags which I want to remove.
e.g.: If there is a JavaScript the browser displays the content between
the <SCRIPT> and </SCRIPT> tag instead of hiding it.

Does anyone know a simple method to tell the JPane not to show some tags
on the Pane (like SCRIPT, APPLET, OBJECT, EMBED, etc...)

I tried to create subclasses of the HTMLEditorKit but I don't know
exactly where and what to do to hide a TAG.

Any help welcome.

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.