public void componentRemoved(ContainerEvent e) { if (e.getChild() instanceof QueryResultPanel) { // finalize QueryResultPanel ((QueryResultPanel) e.getChild()).close(); } }
@Override public void componentRemoved(ContainerEvent evt) { componentRemoved(evt.getChild()); }