--- a/jdk/src/share/classes/javax/swing/JEditorPane.java Tue Jan 04 23:41:13 2011 -0800
+++ b/jdk/src/share/classes/javax/swing/JEditorPane.java Tue Jan 11 12:51:33 2011 +0300
@@ -145,8 +145,8 @@
* <li>
* One way is to specify the character set as a parameter of the MIME
* type. This will be established by a call to the
- * <a href="#setContentType">setContentType</a> method. If the content
- * is loaded by the <a href="#setPage">setPage</a> method the content
+ * {@link #setContentType setContentType} method. If the content
+ * is loaded by the {@link #setPage setPage} method the content
* type will have been set according to the specification of the URL.
* It the file is loaded directly, the content type would be expected to
* have been set prior to loading.