Texas Holdem Poker

Hi everyone. I have to create a Texas Holdem Poker Game in Java for a college project. I am happy with my GUI's but my immediate problem is dealing the cards. I am undecided as to how to do this.

Is it possible to place the pictures of all 52 cards into an array and then randomly generate 2 pictures to be displayed on the GUI when i press the "DEAL" button? This will then act as the opening hand for player A and from here they can decide if they wish to fold or raise etc.

Any help would be greatly appreciated

[534 byte] By [GuitarHer0a] at [2007-10-2 11:45:32]
# 1
Please stick to one thread: http://forum.java.sun.com/thread.jspa?threadID=705674
prometheuzza at 2007-7-13 5:50:55 > top of Java-index,Other Topics,Algorithms...