private void constructor() { Logics = new Logics.NANDGateLogics(); Graphics = new Graphics.NANDGateGraphics(); Graphics.parent = this; Logics.parent = this; }