title: adding a console to a Jframe
body: <p>Im working on a game right now that uses a scanner to interact with the user. The Game was first text based so the Java console view was what i used to play. Now I have to convert the game to a Gui or Jframe so I want to be able to have the same console feature inside the frame while also being able to still use the scanner. Any ideas?
  Im new at coding so any help or same code will be greatly appreciated!
  Thank you</p>