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

gif files not found error message displayed at console

XMLWordPrintable

    • b48
    • generic
    • generic

        Name: dk106046 Date: 05/27/2004

        FULL JDK VERSION(S):
        java version "1.4.2_04"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
        Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

        and

        java version "1.5.0-beta2"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b48)
        Java HotSpot(TM) Client VM (build 1.5.0-beta2-b48, mixed mode)


        The error messages are seen when installing product using Installshield Multi-Platform
        on platforms where the System look and Feel is Motif, this defect has been seen on AIX, Solaris, HP-UX.

        The simple test case provided below sets the look and Feel to Motif so that the defect is seen on all platforms.

        1. Run the test case supplied below
         java Test

        2. The following error messages are displated at the console.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/FloppyDrive.gif not found.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/Computer.gif not found.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/UpFolder.gif not found.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/File.gif not found.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/HardDrive.gif not found.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/DetailsView.gif not found.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/NewFolder.gif not found.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/ListView.gif not found.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/HomeFolder.gif not found.
        com.sun.java.swing.plaf.motif.MotifLookAndFeel/icons/Directory.gif not found.

        3. I would not expect these error messages to be displayed.

        import java.util.*;
        import javax.swing.*;

        public class Test {
            public static void main (String args[]) throws Exception {
                UIManager.setLookAndFeel ("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
                for (Enumeration e = UIManager.getDefaults().keys(); e.hasMoreElements(); ) {
                    Object key = e.nextElement();
                    UIManager.getDefaults().get(key);
                }
                System.exit (0);
            }
        }

        ======================================================================

              shickeysunw Shannon Hickey (Inactive)
              dkorbel David Korbel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: