关于java的swing的size问题

2025-06-23 06:24:44
推荐回答(1个)
回答1:

搞不明白 你为什么还要用Container c = this.getContentPane();

直接 JFrame的getSize(); 就能获得它的尺寸