JDK-4184833 : JEditorPane renders HTML differently in applets
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1998-10-27
  • Updated: 1998-10-27
  • Resolved: 1998-10-27
Related Reports
Duplicate :  
Description
See the applet accessed from:

    http://javaweb.eng/~db/xml-lib/examples/gui/example2.html

Notice how it displays scenes (select one!) differently when invoked as an
applet vs directly:

    % cd /home/db/ws/xml/examples/gui
    % make doit2

Differences include:  <B>...</B> and <I>...</I> don't render fonts
differently.  <CENTER>...</CENTER> doesn't center.  <FONT COLOR='...'>
...</FONT> doesn't affect font color.  Presumably more, e.g. H3 not
working.

(NOTE:  this URL and directory are changed at least weekly.)

Comments
EVALUATION The default css settings don't get loaded because of security exception, so the views don't get their display attributes. Further, the parser doesn't get it's dtd either for the same reason, so everything is treated as unknown.
11-06-2004