Tried a very basic version of the hangman game with java awt and swing. Did things from scratch this time :)
Will try to put up a better version (with more optimised and organised code) soon.
If you are new to this game, check out https://www.wikihow.com/Play-Hangman for rules and how to play the game.
Building this gave me a very good understanding of the basic gui concepts. Hope looking at this and trying to build better version of this will help you too. Have fun with the game and building it!
Any suggestions and improvements are welcome.