public void showPlayer(int cell,int playerID){

    int row = this.getRow(cell);
    int col = this.getCol(cell);
    cellLabel[row, col].TextAlign = ContentAlignment.MiddleCenter;
    cellLabel[row, col].BackColor = Color.Purple;
    cellLabel[row, col].ForeColor = Color.Gold;
    cellLabel[row, col].Text = "P"+Convert.ToString(playerID);


Here is a part of my code.
How can I add a jpeg image to the above cell, called cellLabel[] .
Thanks in advance

What kind of object is cellLabel[]? If its an array of JLabels you can add an icon to a JLabel (and you can derive the icon - which can be any size - from a jpeg file)