Here is an example of blinking JLabel, Hopefully it'll give you an idea of what to do then you can play around with it.
/**code removed*/
Type: Posts; User: MattDelly
Here is an example of blinking JLabel, Hopefully it'll give you an idea of what to do then you can play around with it.
/**code removed*/
Ah I'm glad to see you revised your post haha! :)
I don't think you can just print guessedLetters like you have.
Try this:
import java.util.Arrays;
.
.
.
If I were you I'd start with some pseudo code and then start programming it and if you run into any errors it would be a lot easier to help.
Something like:
While loop to keep the user entering...
Maybe this example will help you
/**code removed*/
Patience is virtue my friend ahha :P
Here are some references:
Java Tutorial
The Java™ Tutorials
Bruce Eckel's MindView, Inc: Free Electronic Book: Thinking in Java, 3rd Edition
...
This seemed to make it work
static Scanner input=new Scanner(System.in);
I think it's cause it's outside the main but I'm not sure.
Also please follow what jps has said.
Thanks! haha :P
First you will need to create a JTextField
private JTextField text1;
You need to create a JTextField and add it to the screen
JTextField text1= new JTextField(15);
Hey everyone,
Hows it going? Stumbled across this site hoping to get some help learning Java and see what this community is all about. I go by the name Delly or Matt don't really matter to me!...