标签:bsp imp bottom import wing span col win new
import java.awt.Insets; import javax.swing.JFrame; public class NewFrame { public static void main(String[] args) { JFrame frame = new JFrame(); frame.setSize(500, 500); frame.setVisible(true); Insets insets = frame.getInsets(); System.out.println(insets.top); System.out.println(insets.bottom); System.out.println(insets.left); System.out.println(insets.right); } }
标签:bsp imp bottom import wing span col win new
原文地址:https://www.cnblogs.com/Satu/p/9768012.html