Sorry, realised just after I posted the thread that you had to enclose code in the tags (which I have now done).
currentPlayersOnTile[players[1].getPosition()].add(players[1].getPlayerIcon());
...
Type: Posts; User: gkelly642
Sorry, realised just after I posted the thread that you had to enclose code in the tags (which I have now done).
currentPlayersOnTile[players[1].getPosition()].add(players[1].getPlayerIcon());
...
//the code works here
currentPlayersOnTile[players[1].getPosition()].add(players[1].getPlayerIcon());
rollDice.addActionListener(new ActionListener()
{
public void...