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

SunGraphics2D drawLine: To many pixels drawn

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8u20
    • client-libs
    • 2d
    • x86
    • windows_8

      FULL PRODUCT VERSION :
      1.8.0_20

      ADDITIONAL OS VERSION INFORMATION :
      Windows 8.1 64bit

      A DESCRIPTION OF THE PROBLEM :
      public class GameWindow extends java.awt.Frame {

          public void paint(Graphics g) { //g is a SunGraphics2D
              //HERE: drawLine paints 3 pixels !!!
              g.drawLine( 10, 10, 11, 10);
          }
      }


      REPRODUCIBILITY :
      This bug can be reproduced always.

            prr Philip Race
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: