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

DefaultSwatchChooserPanel draws rectangluar swatches wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: