How to update a JLabel text?
java, jlabel, string, swing
Solution
Try using `setText();` with your `JLabel`.
Problem
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.