This happens to me a lot too -- the game will just randomly crash to the desktop. I'm not running it in fullscreen mode, so it can't be that issue.
This generally happens while I zone between different areas or floors. It may or may not be related to the giant amount of memory Java ends up consuming... one time I noticed javaw.exe using ~1.3 GB of memory, and it crashed not too long afterwards. (it's currently running at 650MB memory usage)