From Full Screen mode to windowed mode (and reverse) how?

First, ho to all of you, I’ve read this forum for some weeks, and I’ve decided to register for a problem wich I can’t figure out.

The title explains everything, I want to create a JFrame wich changes from full screnn mode to windowed mode (using a kyeListener maybe), I haven’t found examples which do this, generally they exit from the full screen mode and call the System.exit(0);

Can you show me a good example?

I think killers game guide explains it… I’ll try to find the link :slight_smile:

Will start off by saying, that I have not read it, but some of my friends have found it very usefull, I find this online version a bit incomplete though, but it might help :slight_smile:

http://fivedots.coe.psu.ac.th/~ad/jg/ch03/index.html

Sorry to derail the topic, that’s because the online version IS incomplete. Your supposed to buy the book :wink: it’s published by O’Reily

I will look at it and let you know if I made it.