help with JFrame, drawing, and JButtons
so im trying to make a program(game) that simulates a hangman game. Though im running into serveral issues. im using a JFrame to make the box that shows the actual game process, such as how you might see it on a board or something. however im trying to figure out how to make a guess button on this same box that when pushed will pop up another box asking for a guess(a letter). Also i am looking for a way to have it so if a guess isnt right it draws a shape(acting as drawing a part of the hangmans body), on that same box as the button and the original box. Now im relatively knew to programing and im just about at the end of my first semester in java programming so please example as best as possible why i should be using that and how it works. Also im trying to do most of it solo so please try and include as little code as possible, please and thank you :)
Re: help with JFrame, drawing, and JButtons