Questions about GUIs and stuff in Java
<p>This isn't homework, this is something I'm doing for fun.  If you think it's homework, then don't answer.  I know all about Java, stacks, arrays, variables OOP, etc. But not GUIs.</p>

<p>I'm making a text based, but I'm using a GUI to do it. I'm just using Jframes, Jbuttons, and JPanels to do it, that was the easy part but I have few questions.</p>

<p>Before you ask what I've tried, nothing, because I don't know how to phrase a Google search and I have no idea how to do it.</p>

<ol>
<li>How do I make it all in one window. For example, when the user clicks a choice, it either closes that window and makes a new one with the next scenario, or it just changes what's in the current question. Example:</li>
</ol>

<p>Hey, what do you want to do!
A.
B.
C.
D.</p>

<p>Then it goes to:</p>

<p>Cool! You picked C. Now do you want to...etc etc.</p>

<ol>
<li>I want to have a time limit on the choices, so the user has to rush (the genre of the games dictates this for realism). I wanted the scenario to come up, then a button that says "I'm Ready!" or something, then the choices come up, and they have like 10 seconds to pick or the game would say You Lost. It would do this for every choice.  I don't care if there's a timer, but if you can easily teach me how to do it, that's cool.</li>
</ol>

<p>I'm not entirely stupid, you don't have to post full code, just a basic idea (unless you want to, idc). Thanks.</p>
