I have a JDesktopPane and a JInternalFrame. I’d like the JInternalFrame to automatically maximize after I make it. How can I hardcode the “maximize window” event?
I have a JDesktopPane and a JInternalFrame. I’d like the JInternalFrame to automatically maximize
Share
Use
JInternalFrame.setMaximum(true)after you create your frame.Here is how you can maximize your frame: