public SpritePalette(int numCol, int size, int rows)
public SpritePalette()
    public SpritePalette(int numCol, int size, int rows)    {        super();        this.squareSize = size;        this.rows = rows;        this.cols = (int) Math.ceil((float) numCol / (float) rows);        // System.out.println("SpritePalette(): numCol=" + numCol + ", rows="        // + rows + ", cols=" + cols);        this.setPreferredSize(new Dimension((squareSize * (cols + 2)) + 1,            (squareSize * rows) + 1));        this.addMouseListener(this);        this.addMouseMotionListener(this);        this.setToolTipText("Right-click on a color to change it");        this.zeroEditable = true;    }