454647484950515253
@Override public void actionPerformed(ActionEvent e) { for (JInternalFrame frame : mainWindow.getDesktop().getAllFrames()) { LogWindow logWindow = (LogWindow) frame; logWindow.clear(); } } }
4344454647484950
} @Override public void actionPerformed(ActionEvent e) { LogWindow logWindow = (LogWindow)mainWindow.getDesktop().getSelectedFrame(); logWindow.clear(); } }