Java | JPane WebBrowser

From: wolfgang hafenscher (mtd00019_at_fh-hagenberg.at)
Date: 03/29/04


Date: Mon, 29 Mar 2004 06:22:04 +0200

Hi!

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.

Wolfgang



Relevant Pages

  • Re: A serious question about cgi (intermediate-newbie)
    ... If so, your script ... period of time because of nested table tags. ... What I find effective is collecting log entries for an offender ... call his employer, have your favorite attorney write his employer. ...
    (comp.lang.perl.misc)
  • Re: IE , SCRIPT and innerHTML
    ... the way you are trying to alert it. ... Anyone know a solution to access the contents of the script tag in IE? ... Prototype.js was written by people who don't know javascript for people ... I need the script tags, so that i can create different field ...
    (comp.lang.javascript)
  • Re: asp.net and XHTML
    ... tags, and attribute values are included in double ... Controls do not render custom attributes that are ... Any script tags rendered into the page include an appropriate type ...
    (microsoft.public.dotnet.framework.aspnet)
  • Site search script?
    ... I'm looking for a script which will search a set of text files and return ... The text files are books and short stories, ... locally and uploaded to the host server) would get around this, ... with tags okay? ...
    (alt.php)
  • Re: about audacity and sound recording on Linux
    ... I have only dabbled a little bit with Audacity myself, ... For these kind of non Debian specific questions, ... I would like to be able to set the bitrate in the script. ... Does ogg format support tags? ...
    (Debian-User)