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

ImageIcon(...) is incredibly slow

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs



      Name: rm29839 Date: 02/02/98


      Moving from AWT to JFC.

      1. I already notice that JFC is slower then AWT.

      2. I'm loading images from gif files, and this is
       incredibly slow.
      More, the files have only 800, 700, 900 bytes.

          I'm calling "ImageIcon(url, description)".

         I don't find a way to associate the "gif" file
       to the compiling output "class" file,
      so that when running wouldn't be necessary to
      load the gif file.

         I mean

      javac <file>.java <pict>.gif ===> <file>.class with the image in the class file

         Do you have any suggestions, or can you
      improve the ImageIcon(...) performance ?
      (Review ID: 24307)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: