I am making a Hangman game and one of the things I want to make is JLabel
text , which updates with ex."_ _ _ _ "
, depending on word.
I can share code if you want.
Try using setText();
with your JLabel
.
JLabel.setText("ex."+text);
super.update(this.getGraphics());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With