Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 467 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 467 Bytes

Java_21_Card_Deck_1

Overview:

1 - starting by defning the jframe variables.

2 - in the contructor, defining the attributes for deck panel, cardmanager CardLayout.

3 - then, we would like to define each cards in the cardlayout, as c1, c2, c3.

4 - for each panel, we define the J-components, then we return a value for each.

5 - the end is the action-performed section, that we can determine what would happen when we press one of these card deck's buttons.