When Secondary Frames are added to a package and the frame is called using frame.setVisible(true);
the frame shows but when it shows it is not open to the size it is built to but rather to the minimum size the frame can go and the user has to resize it, why is this?
Example image:
Be sure to pack()
your frame and then call setVisible()
.