I am pretty new to Java but have some basic programming experience with C, C++ I have just started creating GUIs and decided to create a Blackjack game.
I have created an array of Strings for the cards being dealt, however when I try to write the string (eg Ace, King, Eight, etc) using the setText method it doesn't work. It seems setText will only write text inside " " to the jTextField. I cannot for the life of me find an appropriate method to write my array of strings to the jTextFields.
Can anyone advise me of an appropriate method to use? Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire