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

JComponent getGraphics() delivers a graphics context that is not suited for drawing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 6
    • client-libs

      J2SE Version (please include all output from java -version flag):
        java version "1.6.0-beta2"
        Java(TM) SE Runtime Environment (build 1.6.0-beta2-b82)
        Java HotSpot(TM) Client VM (build 1.6.0-beta2-b82, mixed mode, sharing)

      Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
        not known

      Operating System Configuration Information (be specific):
        Windows XP Professional SP2


      Hardware Configuration Information (be specific):
        Intel Pentium III, 730 Mhz, 384 Mb RAM

      Bug Description:
        JComponent getGraphics() delivers a graphics context that
        is not suited for drawing, which is contrary to what the
        API states.

      Steps to Reproduce (be specific):

      Compile and run the attached program. No string is drawn.

            svioletsunw Scott Violet (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: