收起
createAndShowGUI()是一个静态方法,方法里写得是展示窗口用的。而SwingUtilities.invokeLater(chuangkou::createAndShowGUI);是调用这个静态方法并显示
报告相同问题?