public class BaseApp extends JFrame implements InternalFrameListener{ public BaseApp(String title) { ... } public static void main(String[] argv) { ... } void internalFrameActivated(InternalFrameEvent e){...} void internalFrameClosed(InternalFrameEvent e){...} void internalFrameClosing(InternalFrameEvent e){...} void internalFrameDeactivated(InternalFrameEvent e){...} void internalFrameDeiconified(InternalFrameEvent e){...} void internalFrameIconified(InternalFrameEvent e){...} void internalFrameOpened(InternalFrameEvent e){...}}