I am working on a Swing application that starts with JFrame, but all the other frames are included as JInternalFrames, and i am facing some serious screen size problems when i instaled it in different computers, i used the following methode to set the JFrame in full screen
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
setBounds(0, 0, screenSize.width, screenSize.height);
JFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);
But I observe no difference. I also want to adjust the JInternalFrames with the screen size. If you have any suggestions or solutions, please help