Windows/Linux: Simply press ALT+ENTER once the game is loaded, and it will toggle between window or full-screen mode.

Mac OS X: Press Command+F.