After a quick google search I found this post, which seems pretty promising: How to set screen resolution (Game Development forum at JavaRanch)