Original Post
Hi! I'm currently developing a 2d tile-based game in java. It runs in fullscreen and that works fine, but I want it to be a semi-mud game so about half the screen should be a jlist and below that a jtextfield for input. I added those components by using the setClip() method to only draw half the screen and put them on the other half. Now the problem comes when I want to write something. I wrote a method that uses requestFocus() on the jtextfield when i press enter. As soon as I start writing the game freezes. Can't seem to find what the problem is, i'm fairly new to game development. Am i approaching this the wrong way? /Henric