United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6589952 : Swing: dead links in API documentation

Details
Type:
Bug
Submit Date:
2007-08-07
Status:
Closed
Updated Date:
2017-05-16
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Relates:
Relates:

Sub Tasks

Description
There are dead links in Swing API documentation, which should be fixed:

=======================
Javadoc errors in the package javax.swing


-------------------
javax.swing.AbstractButton

Missing Anchor
1337 * @see <a href="#actions">Actions</a>


-------------------
javax.swing.JEditorPane

Missing Anchor
146  * <a href="#setContentType">setContentType</a> method.  If the content

Missing Anchor
147  * is loaded by the <a href="#setPage">setPage</a> method the content


-------------------
javax.swing.JTable

Page Not Found
2420      * This is a <a href="http://java.sun.com/docs/books/tutorial/javabeans/whatis/beanDefinition.html">JavaBeans</a> bound property.

Page Not Found
2461      * This is a <a href="http://java.sun.com/docs/books/tutorial/javabeans/whatis/beanDefinition.html">JavaBeans</a> bound property.


-------------------
javax.swing.SizeSequence

Missing Anchor
136     * @see #setSizes


-------------------
javax.swing.TransferHandler

Missing Anchor
357          * @see #isDrop

Missing Anchor
393          * @see #isDrop

Missing Anchor
419          * @see #isDrop

Missing Anchor
453          * @see #isDrop

Missing Anchor
481          * @see #isDrop

Missing Anchor
514          * @see #isDrop




=======================
Javadoc errors in the package javax.swing.event


-------------------
javax.swing.event.InternalFrameAdapter

Page Not Found
36   * <a href="http://www.awl.com/cp/javaseries/jcl1_2.html">The Java Class Libraries (update)</a>


-------------------
javax.swing.event.InternalFrameListener

Page Not Found
37   * <a href="http://www.awl.com/cp/javaseries/jcl1_2.html">The Java Class Libraries (update)</a>





=======================
Javadoc errors in the directory api/javax/swing/plaf/multi/doc-files/


-------------------
api/javax/swing/plaf/multi/doc-files/multi_tsc.html

Page Not Found
69  <a href="http://java.sun.com/docs/books/tutorial/uiswing/start/swingTour.html#plaf">Choosing the Look and Feel</a>,





=======================
Javadoc errors in the directory api/javax/swing/plaf/synth/doc-files/


-------------------
api/javax/swing/plaf/synth/doc-files/synthFileFormat.html

Missing Anchor
94   ....... <a href="#beansPersistance">%beansPersistance;</a>) ......

Missing Anchor
254  ....... <a href="#state.name">name</a> .......

Missing Anchor
800  ....... <a href="#imagePainter.paintCenter">paintCenter</a> .......





=======================
Javadoc errors in the package javax.swing.text


-------------------
javax.swing.text.AsyncBoxView

Missing Anchor
387       * This is called by the <a href="#setParent">setParent</a>


-------------------
javax.swing.text.DefaultCaret

Missing Anchor
73   * <a href="#getSelectionHighlighter">getSelectionHighlighter</a>


-------------------
javax.swing.text.JTextComponent

File Not Found
4529  public void addInputMethodListener(InputMethodListener l) {
The javadoc comment from the parent method JComponent.addInputMethodListener() is used. There is a link, which doesn't work for javax.swing.text package:
javax.swing.JComponent
5409       * <p>Refer to <a href="doc-files/AWTThreadIssues.html#ListenersThreads"


-------------------
javax.swing.text.Segment

File Not Found
262     public char charAt(int index) {
The javadoc comment from the interface method CharSequence.charAt() is used. There is a link, which doesn't work for javax.swing.text package:
java.lang.CharSequence
70     * <a href="Character.html#unicode">surrogate</a>, the surrogate


-------------------
javax.swing.text.TableView

Missing Anchor
319      * <a href="#layoutColumns">layoutColumns</a> method, and then

javax.swing.text.View

Missing Anchor
120    <a href="#getContainer">getContainer</a> method).

Missing Anchor
183     <li><a href="#insertUpdate">insertUpdate</a>

Missing Anchor
184     <li><a href="#removeUpdate">removeUpdate</a>

Missing Anchor
185     <li><a href="#changedUpdate">changedUpdate</a>

Missing Anchor
674     * <li><a href="#updateChildren">updateChildren</a> is called

Missing Anchor
715     * <li><a href="#updateChildren">updateChildren</a> is called

Missing Anchor
756     * <li><a href="#updateChildren">updateChildren</a> is called

Missing Anchor
680      * <li><a href="#forwardUpdate">forwardUpdate</a> is called

Missing Anchor
721      * <li><a href="#forwardUpdate">forwardUpdate</a> is called

Missing Anchor
762      * <li><a href="#forwardUpdate">forwardUpdate</a> is called

Missing Anchor
1190     * <a href="#forwardUpdate">forwardUpdate</a> to forward

Missing Anchor
682      * <li><a href="#updateLayout">updateLayout</a> is called to

Missing Anchor
723      * <li><a href="#updateLayout">updateLayout</a> is called to

Missing Anchor
764      * <li><a href="#updateLayout">updateLayout</a> is called to



=======================
Javadoc errors in the package api.javax.swing.text.html


-------------------
api.javax.swing.text.html.HTMLEditorKit

Missing Anchor
124  * <a href="#createDefaultDocument">createDefaultDocument</a> can

Missing Anchor
552  * @see #isAutoFormSubmission


-------------------
api.javax.swing.text.html.ParagraphView

Missing Anchor
65      * <a href="#setPropertiesFromAttributes">setPropertiesFromAttributes</a>


-------------------
api.javax.swing.text.html.StyleSheet

Missing Anchor
53  * <a href="#getViewAttributes">getViewAttributes</a>
A couple of problems (which have a non-trivial fix) filed as a separate CR 7009422:

-------------------
javax.swing.text.JTextComponent

File Not Found
4529  public void addInputMethodListener(InputMethodListener l) {
The javadoc comment from the parent method JComponent.addInputMethodListener() is used. There is a link, which doesn't work for javax.swing.text package:
javax.swing.JComponent
5409       * <p>Refer to <a href="doc-files/AWTThreadIssues.html#ListenersThreads"


-------------------
javax.swing.text.Segment

File Not Found
262     public char charAt(int index) {
The javadoc comment from the interface method CharSequence.charAt() is used. There is a link, which doesn't work for javax.swing.text package:
java.lang.CharSequence
70     * <a href="Character.html#unicode">surrogate</a>, the surrogate

                                    

Comments
EVALUATION

Fixes are javadoc-related and simple.
                                     
2008-02-11



Hardware and Software, Engineered to Work Together