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

can't compile the class GraphicsTest.java in the GraphicsTest applet

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0beta2
    • CPU:
      sparc
    • OS:
      solaris_2.4
    • Verification:
      Not verified

      Description

      Can't compile the class GraphicsTest.java

      Error message during compilation :

      > lc GraphicsTest.java
      GraphicsTest.java:268: Method scale(float, float) not found in class java.awt.Graphics.
              ng.scale((float)((float)w / (float)10), (float)((float)h / (float)20));
                      ^
      GraphicsTest.java:274: Method scale(float, float) not found in class java.awt.Graphics.
              ng.scale((float)((float)w / (float)10), (float)((float)h / (float)20));
                      ^
      2 errors
      Exit 1

        Attachments

          Activity

            People

            Assignee:
            duke J. Duke (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: