Answered step by step
Verified Expert Solution
Question
1 Approved Answer
All of them except the screenshot cs 102 Week Five Take a screenshot when the card pictures are showing Submit via Blackboard Lesson Outline Reading
All of them except the screenshot
cs 102 Week Five Take a screenshot when the card pictures are showing Submit via Blackboard Lesson Outline Reading Assignment Additional Work 1. Draw the detailed UML class diagram of the class Card 2. Draw the detailed UML class diagram of the class BasicCardFrame 3. List as many as you can find Java library casses that BasicCardFrame class aggregates. How are they imported into the program? 4. The BasicCardFrame class imported the entire package of java.util. Is it really necessary? Can you replace it by importing a single class instead? 5. If you want to put all classes you defined in Basic Cad lab in a package named myBasicCard, what changes you must make? Also draw the conceptual level diagram showing the package and the classes in it. Ch. 8/9/10 Supplement, UML Lectured Concepts More on UML notation Concepts of composition and aggregation Lab 4 Basic Card lab Download, extract, make sure files are arrange correctly. (For jGrasp the arrangement is just as given. If you are using an IDE other than jGrasp, it is your job to put files in correct directory.) Compile Card class, then BasicCardFrame class, and finally CardApp1 class. Run the CardApp1 program. Click the button to display a few cards port 3.va. ut i1."; inport jeva awt.event public class BasicCardprane estends frme String player score "start Panel mainPane1-new 3Pane1) Pane1 playerPanelPane10 Label[] pictabel new 3Labe1414) TextArea Playeri ield-new Tetrea(); Button deal 3BattonDEAL Actiontistener action - new DealAct iont istener)a public BasicCardFrane) [ super)a setsize( 1009, 400) settitle( Card Prog) cetContentPane().add (nainPanel, BorderLayout.cMITER) getcontentPane() add(playerPanel, BonderLayout EAST) getcontentPane)dd (deal, BonderLayout.Sou mainPanel.setlayout (new oridLayout (1, 4) for (int i-e i4 1+) ( picLabel[-Labe1 sainPaneI.add(pictabe14]) Comple Messages IGRASP MessagesRun VO Interactions se Find Debug Workbench Clear Lnect Coc1 Code:? plctabe1[4]1 etlcon(alla player score player, scaregain" playere ield.setrest Celayer score)i f (count 4) Card c-deck.get(count) pictabel(count ].set Lon(.getLmage) player score-Player-score . nn. + 1.tastring(); playerfleld.set est(player-score) Cear Browse Find F Debug Workbench 1129 A public Card public String etface)retues face arivate vold setcard) case ei ( uit-spde"s breaks) rar10) face case 11: faces's break Comple blessages SGRASP S0op case FaceKs break) String fo -"cards return suit . a face; Messages IGRASP Messages Ran O Interactions Stop cs 102 Week Five Take a screenshot when the card pictures are showing Submit via Blackboard Lesson Outline Reading Assignment Additional Work 1. Draw the detailed UML class diagram of the class Card 2. Draw the detailed UML class diagram of the class BasicCardFrame 3. List as many as you can find Java library casses that BasicCardFrame class aggregates. How are they imported into the program? 4. The BasicCardFrame class imported the entire package of java.util. Is it really necessary? Can you replace it by importing a single class instead? 5. If you want to put all classes you defined in Basic Cad lab in a package named myBasicCard, what changes you must make? Also draw the conceptual level diagram showing the package and the classes in it. Ch. 8/9/10 Supplement, UML Lectured Concepts More on UML notation Concepts of composition and aggregation Lab 4 Basic Card lab Download, extract, make sure files are arrange correctly. (For jGrasp the arrangement is just as given. If you are using an IDE other than jGrasp, it is your job to put files in correct directory.) Compile Card class, then BasicCardFrame class, and finally CardApp1 class. Run the CardApp1 program. Click the button to display a few cards port 3.va. ut i1."; inport jeva awt.event public class BasicCardprane estends frme String player score "start Panel mainPane1-new 3Pane1) Pane1 playerPanelPane10 Label[] pictabel new 3Labe1414) TextArea Playeri ield-new Tetrea(); Button deal 3BattonDEAL Actiontistener action - new DealAct iont istener)a public BasicCardFrane) [ super)a setsize( 1009, 400) settitle( Card Prog) cetContentPane().add (nainPanel, BorderLayout.cMITER) getcontentPane() add(playerPanel, BonderLayout EAST) getcontentPane)dd (deal, BonderLayout.Sou mainPanel.setlayout (new oridLayout (1, 4) for (int i-e i4 1+) ( picLabel[-Labe1 sainPaneI.add(pictabe14]) Comple Messages IGRASP MessagesRun VO Interactions se Find Debug Workbench Clear Lnect Coc1 Code:? plctabe1[4]1 etlcon(alla player score player, scaregain" playere ield.setrest Celayer score)i f (count 4) Card c-deck.get(count) pictabel(count ].set Lon(.getLmage) player score-Player-score . nn. + 1.tastring(); playerfleld.set est(player-score) Cear Browse Find F Debug Workbench 1129 A public Card public String etface)retues face arivate vold setcard) case ei ( uit-spde"s breaks) rar10) face case 11: faces's break Comple blessages SGRASP S0op case FaceKs break) String fo -"cards return suit . a face; Messages IGRASP Messages Ran O Interactions Stop Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started