This is a JAVA GUI programming question.
I have a Card class as following, how can I show as the picture?
private DrawDeck[][] deck = new DrawDeck[4][13];
public void createDeck() { // Method to initialize deck ofcards
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 13; j++) {
deck[i][j] = new DrawDeck();
deck[i][j].setNumber(j + 1);
deck[i][j].setSuit(Suit.values()[i]);
deck[i][j].setDescription();
}
}
}
public enum Suit {Spade, Heart, Diamond, Club};
private int number;
private int Ace = 1;
private
OR
OR