Resize the components of the frame in full-screen mode
问题 I want my frame components to be always adjusted in the screen, regardless of screen size. I draw the frame in my Laptop (small screen) and when I run my application in another machine (jar file) with a big screen the frame components doesn't re-size! How I can make my frame resize it's components when I put the frame in full-screen mode in any machine? Current layout Code package package_MSM; import java.awt.Color; public class MSMGui extends JFrame { private static final long