Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4217080

JEditor pane doesn't load images correctly from JARs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.1
    • tools
    • None
    • jar
    • sparc
    • solaris_2.6

      JEditorPane does not load images from JAR files if the file that
      references it contains a content attribute in a <META> tag. For
      example:

      <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

      Two interesting notes:

      - If the image is first loaded and cached by a file that doesn't
        contain the <META> tag, it will subsequently load in a file that
        DOES contain the <META> tag.

      - The same image is loaded correctly when the referencing file is
        loaded from the file system (as opposed to a JAR file).

      I've attached a very simple JavaHelp HelpSet that demonstrates
      the problem and would be happy to show it to whoever is lucky
      enough to work on this.

      Larry

            zlisunw Zhenghua Li (Inactive)
            lmhoffma Larry Hoffman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: