Yea, I figured out that when I add the Card to the ArrayList, when I update the properties, all the properties are updated. How do I make it so that it will add a new Card every time the loop goes...
Type: Posts; User: CountryGamer
Yea, I figured out that when I add the Card to the ArrayList, when I update the properties, all the properties are updated. How do I make it so that it will add a new Card every time the loop goes...
only for those yellow warning lines that dont affect the code. I can take that out and see what happens. Ill post the results.
I am also going to try to do this at the loop:
Card a = new Card(...
Ok, so I have tried to create a deck of cards using 2 classes, Deck.java and Card.java
But every time I try to add a card to the deck ArrayList, using a for statement, the deck ends up containing...
But if the user has a file that sends and receives from the console, how are they to be able to see that if they don't have a terminal window. I have heard of sending the console to a text view or...
The above code already opens a terminal window on mac, I am trying to send commands to it.
Because I need to use the "java [path]"command. The goal of this java project is to have the user...
Hello,
I am creating a .jar that will compile and run java programs through terminal. I have gotten the command to compile the java file that filePath refers to, but cannot figure out how to pass...