📜  java swing 获取帧大小 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:48.260000             🧑  作者: Mango

代码示例1
Rectangle r = frame.getBounds();
int h = (int) r.getHeight();
int w = (int) r.getWidth();