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

DebugGraphics extends Graphics, not Graphics2D

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 1.2.0
    • client-libs
    • Fix Understood
    • generic
    • generic

      Name: dbT83986 Date: 08/14/99


      I created a Swing component, implemented my own drawing code,
      and discovered I'm having a problem getting it to paint correctly.
      Enabling DebugGraphics, I get a class cast exception. Since I'm
      using the 2D drawing API, I need to make calls to the Graphics2D
      class, but because DebugGraphics only extends Graphics, I can't.
      (Review ID: 93663)
      ======================================================================

            Unassigned Unassigned
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: