title: Creating a pop up box in Java
body: <p>I want to create a pop up box that is activated when I click a "Check" button. What it does is ask the user if they are sure about what they requested. If yes, it does the request. If no, it goes back to it's normal state.</p>
  
  <p>I know what I said is a bit ambiguous but I want to create various types of pop up boxes.</p>
  
  <p>So I was wondering is there a website that has generic pop up boxes with the code given?</p>
  
  <p>I just need a simple code which I can expand on.</p>