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

Unnecessary output shown on the console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 1.4.2
    • 1.4.2
    • hotspot
    • sparc
    • solaris_8

      Execute the following program:
      // java.*
      import java.awt.Frame;
      import java.awt.Window;
      import java.awt.image.ImageObserver;

      /**
       * Class declaration
       *
       *
       * @author
       * @version %I%, %G%
       */
      public class Test extends Window implements ImageObserver
      {
        private static final int HEIGHT = 251;
        private static final int WIDTH = 382;

        /**
         * Constructor
         * @param parent the parent frame
         */
        public Test(Frame parent)
        {
          super(parent);
          setSize(WIDTH, HEIGHT); // wizard size
        }

        public static void main(String[] argv) throws Exception
        {
            Frame f = new Frame();
            Test t = new Test(f);
            t.setVisible(true);
        }

      }

      The following message is shown on the console:
      Warning: Cannot convert string
      "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
      ###@###.### 10/19/04 20:09 GMT

            ksrini Kumar Srinivasan
            mmma Marvin Ma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: