public HandlerForm(MainForm mainForm) { instance = this; this.frame = mainForm; output = new Output(frame); menuBar = new MenuBar(frame); tabControl = new HandlerTab(frame); frame.init(); }