public static void show(JFrame frame, Point point, int[][] old, int[][] ne) {
		JDialog dialog = new JDialog(frame, "DiffDialog", true);
		JPanel jpanel = new JPanel();
		JTextPane textPane = new JTextPane();
		dialog.setContentPane(jpanel);
		jpanel.add(textPane);


		StyledDocument doc = textPane.getStyledDocument();

		SimpleAttributeSet keyWord = new SimpleAttributeSet();
		StyleConstants.setForeground(keyWord, Color.RED);
		StyleConstants.setBackground(keyWord, Color.YELLOW);
		StyleConstants.setBold(keyWord, true);

/*		SimpleAttributeSet keyWordFirst = new SimpleAttributeSet();
		StyleConstants.setForeground(keyWordFirst, Color.RED);
		StyleConstants.setBackground(keyWordFirst, Color.GREEN);
		StyleConstants.setBold(keyWordFirst, true);*/

		try {
			doc.insertString(0, "  ", null);
			for (int y = 0; y < old.length; ++y) {
				doc.insertString(doc.getLength(), "  " + y, null);
			}
			System.out.println(point);
			doc.insertString(doc.getLength(), "\n", null);
			for (int y = 0; y < old.length; ++y) {
				doc.insertString(doc.getLength(), y + "[", null);
				for (int x = 0; x < ne.length; ++x) {
					if (y == point.y && x == point.x) {
						doc.insertString(doc.getLength(), "  " + ne[y][x], keyWord);
					} else if (ne[y][x] == -1) {
						if (ne[y][x] == old[y][x])
							doc.insertString(doc.getLength(), " " + ne[y][x], null);
						else {
							doc.insertString(doc.getLength(), " " + ne[y][x], keyWord);
						}
					} else {
						if (ne[y][x] == old[y][x])
							doc.insertString(doc.getLength(), "  " + ne[y][x], null);
						else {
							doc.insertString(doc.getLength(), "  " + ne[y][x], keyWord);
						}
					}
				}
				doc.insertString(doc.getLength(), "]\n", null);
			}
			dialog.pack();
			dialog.setVisible(true);
		} catch (BadLocationException e) {
			e.printStackTrace();
		}
	}