📅  最后修改于: 2022-03-11 14:57:22.259000             🧑  作者: Mango
public class ClassName extends JFrame implements ComponentListener {
@Override
public void componentResized(ComponentEvent e) {
//set your code here
}
}