I forgot to add the explanation. I need the JOptions to show up in the JText fields, the JOptions are only there to show what i need to show up on the Jtext, but i cant get the two classes to ineract with each other. What should i do?
Basically i need the Jtext field to show everything the Joptionpane is showing. So when the player clicks shuffle i need the jtext field MsgT to say "Shuffling" and then when deal is hit it needs to say "dealt". After the cards are the Jtextfield should show both player and house cards, then udpate the number of hands won by both sides. when i try to compile it it says variable player is not found. It cant get the card game to interact with my container.