public void redraw(Graphics g) {
		g.setColor(Color.black);

		g.drawLine(0, g.getClipBounds().height - 1,
				g.getClipBounds().width - 1, g.getClipBounds().height - 1);
		if (loaded) {
			graph.draw(g, graph.getOrigin(), graph.getScale(), Color.blue,
					xdiff, ydiff);
		}
		drawing.repaint();
	}