我在一个JDesktopPane 里面定义了好多个JInternalFrame,怎么判断当前我操作的是哪一个JInternalFrame?
theDesktop.getSelectedFrame();能够获取当前聚焦的子窗口希望能帮到你~