I was never told about the use of drawString(), I only knew about drawChars().
When I compile the code, it says "The type of the initializer, "java.lang.String", is not assignable to the variable,...
Type: Posts; User: Piemeup
I was never told about the use of drawString(), I only knew about drawChars().
When I compile the code, it says "The type of the initializer, "java.lang.String", is not assignable to the variable,...
Sorry, I hope this is better
//Declaring cards//
String[] [] cards = new String [4] [13];
//spades
cards [0] [0] = "Ace of Spades";
cards...
There are 52 cards, so it would be,
cards [0] [0] = "Ace of Spades";
For an example.
I am trying to get them printed with
chars [] (Blah blah blah)
then using,
g.drawChars (etc, etc, etc,...
Thanks for the reply Norm, yes cards is a multi dimensional array of 2, being, cards [3] [12]. I was using the char for things like this and it works fine.
char[] n1 = {Character.forDigit (value...
Hi there, I have been working on a school project worth %15 of my grade, I am half done and it is due tomorrow... I am making a card/war game where 4 numbers are generated, they pick the number(s) of...