private void constructor() { Logics = new Logics.XORGateLogics(); Graphics = new Graphics.XORGateGraphics(); Graphics.parent = this; Logics.parent = this; }