DefaultSwatchChooserPanel draws rectangluar swatches wrong

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: client-libs
    • merlin
    • generic
    • generic



      Name: dbT83986 Date: 03/16/99


      Each swatch is drawn with a black line below and to the right. If the swatch is a rectangle and not a square, the bottom line is drawn at
      an angle. Please change the following line of code in the file
       "javax.swing.colorchooser.DefaultSwatchChooserPanel" and in the
      method "SwatchPanel.paintComponent(Graphics g)"
      from
      "g.drawline(x,y+swatchSize.height-1,x+swatchSize.width-1,y+swatchSize.width-1);"
      to
      "g.drawline(x,y+swatchSize.height-1,x+swatchSize.width-1,y+swatchSize.height-1);"
      (Review ID: 53993)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: