jdk/src/share/classes/javax/swing/JEditorPane.java
changeset 7959 2e05332a8f5c
parent 7668 d4a77089c587
child 9035 1255eb81cc2f
equal deleted inserted replaced
7793:bcc54a3c2825 7959:2e05332a8f5c
   143  * with <code>JEditorPane</code>.
   143  * with <code>JEditorPane</code>.
   144  * <ol>
   144  * <ol>
   145  * <li>
   145  * <li>
   146  * One way is to specify the character set as a parameter of the MIME
   146  * One way is to specify the character set as a parameter of the MIME
   147  * type.  This will be established by a call to the
   147  * type.  This will be established by a call to the
   148  * <a href="#setContentType">setContentType</a> method.  If the content
   148  * {@link #setContentType setContentType} method.  If the content
   149  * is loaded by the <a href="#setPage">setPage</a> method the content
   149  * is loaded by the {@link #setPage setPage} method the content
   150  * type will have been set according to the specification of the URL.
   150  * type will have been set according to the specification of the URL.
   151  * It the file is loaded directly, the content type would be expected to
   151  * It the file is loaded directly, the content type would be expected to
   152  * have been set prior to loading.
   152  * have been set prior to loading.
   153  * <li>
   153  * <li>
   154  * Another way the character set can be specified is in the document itself.
   154  * Another way the character set can be specified is in the document itself.