Search:

Type: Posts; User: gkelly642

Search: Search took 0.30 seconds.

  1. Replies
    3
    Views
    280

    Re: JButton event handler

    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());
    ...
  2. Replies
    3
    Views
    280

    JButton event handler

    //the code works here
    currentPlayersOnTile[players[1].getPosition()].add(players[1].getPlayerIcon());

    rollDice.addActionListener(new ActionListener()
    {
    public void...
Results 1 to 2 of 2