setLayout(new BorderLayout());
setSize(750, 750);
setPreferredSize(new Dimension(750, 750));
setBackground(Color.WHITE);
setFocusable(true);
addMouseMotionListener(new ToolTipMouseMotionListener(this));
Tool.setGraphModel(this);
addMouseListener(this.currentTool);
addMouseMotionListener(this.currentTool);
}