java - JFrame size, resize, fullscreen -
my question have 3 parts. i know, how can set jframe window resizable, can not go under minim size user cant make smaller minimum size. i know, how can set jframe window resizable, still keep aspect ratio (16:9) if user resizing it. i know, how can make program become full screen after clicks button there no borders , runs game or (and if there specific issues how can revert safely). thanks , patient not perfect english , not perfect java knowledge. the provided answer useful , answers part of question, still of still blank me. the part of code: private void createdisplay() { graphicsdevice gd = graphicsenvironment.getlocalgraphicsenvironment().getdefaultscreendevice(); frame = new jframe(title); //setting title of window frame.setsize(width, height); //setting width , height of window frame.setdefaultcloseoperation(jframe.exit_on_close); //make ...