title: Pure Java text interface for a roguelike game
body: <p>OK, this is going to sound like a crazy idea - but I'm interested in emulating a 1980s style <a href="http://en.wikipedia.org/wiki/Roguelike" rel="noreferrer">roguelike game</a> text interface in pure Java, i.e. using Swing or similar.</p>
  
  <p>Here's roughly what it needs to do:</p>
  
  <ul>
  <li>Provide a fixed size grid of fixed size characters as the "screen" (e.g. 100*75)</li>
  <li>Use an appropriate monospaced font, ideally with lots of interesting symbols</li>
  <li>Allow setting of foreground and background character colours for each character position individually</li>
  <li>Allow printing of strings or individual characters at any place in the screen (which should overwrite whatever is already in the screen buffer in those locations)</li>
  </ul>
  
  <p>Anyone know of a good existing solution that would enable this? Or am I stuck with hacking one together from scratch?</p>
  
  <p>p.s. the reason I want pure Java is so that it can run in a sandboxed applet. So JNI solutions like <a href="http://sourceforge.net/projects/javacurses/" rel="noreferrer">jcurses</a> are sadly ruled out.....</p>