public void drawLines() {

		Graphics g = this.getGraphics();

		Graphics2D g2d = (Graphics2D) g;

		int w = getWidth();
		int h = getHeight();

		RenderingHints rh = new RenderingHints(RenderingHints.KEY_ANTIALIASING,
				RenderingHints.VALUE_ANTIALIAS_ON);

		rh.put(RenderingHints.KEY_RENDERING,
				RenderingHints.VALUE_RENDER_QUALITY);

		g2d.setRenderingHints(rh);

		g2d.clearRect(0, 0, w, h);

		for (int i = 0; i < count - 1; i++) {
			for (int j = 0; j < count - 1; j++) {
				g2d.drawLine(coords[i][0], coords[i][1], coords[j][0],
						coords[j][1]);
			}
		}
	}