Unnecessary output shown on the console

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 1.4.2
    • Affects Version/s: 1.4.2
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: