DebugGraphics extends Graphics, not Graphics2D

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P5
    • None
    • Affects Version/s: 1.2.0
    • Component/s: 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)
      ======================================================================

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

              Created:
              Updated:
              Imported:
              Indexed: