I would like to make an app that have a button that make the app full screen when clicked and then change to normal when the button is clicked second time. The JDK is 1.7 and I know it support application in full screen mode. I tried in many ways but not succeed. Please, is there someone who could help me?
EDIT1: I would like to make my app enter and exit "Video Mode Fullscreen". I cannot enter fullscreen on runtime as changing setUndecorated to true on runtime has no effect on appearance.