ok , I got the cards to display right now in rows. But I have some looping problem after you click on "New Deck" or "Shuffle all" Buttons. it does not display the first card right. But all the rest are ok. If anyone can look at this and see what is the problem that be a big help.

I've also had thoughts about a poker hand ranking system. Each hand would be assigned a numeric value that signifies how powerful it is. Of course the advantage of this system is that you just compare two decimal numbers to see who wins. It would look something like this:

Base Hand Value:70000 Straight flush60000 Four of a kind50000 Full house40000 Flush30000 Straight20000 Three of a kind10000 Two pair100 One pair0 High card

Hand Value Modifier: * for most hands (high card, pair, three of a kind, straight, four of a kind, straight flush) the modifier would be equal to the highest card in the hand. ex: pair of 9s = 109

* For two pair put the highest pair in the first two digits after the 1 and the low pair in the next two digits. ex: Aces and eights = 11408

* Full house is similar to two pair. ex: Aces full over eights = 51408

Kicker Value:We also have to rank the kicker in case two people have hands of the same value. (for example if both have a pair of threes.) Put this information in the decimal. Don't forget to use two digits for each card.ex: the five cards 2 2 3 5 6 rank as 102.060503