提交 e896ac07 编写于 作者: R rupashka

7075563: Broken link in "javax.swing.SwingWorker"

Reviewed-by: alexp
上级 4c70c891
...@@ -1274,8 +1274,7 @@ public class SwingUtilities implements SwingConstants ...@@ -1274,8 +1274,7 @@ public class SwingUtilities implements SwingConstants
* <p> * <p>
* Additional documentation and examples for this method can be * Additional documentation and examples for this method can be
* found in * found in
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How to Use Threads</a>, * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>.
* in <em>The Java Tutorial</em>.
* <p> * <p>
* As of 1.3 this method is just a cover for <code>java.awt.EventQueue.invokeLater()</code>. * As of 1.3 this method is just a cover for <code>java.awt.EventQueue.invokeLater()</code>.
* <p> * <p>
...@@ -1326,8 +1325,7 @@ public class SwingUtilities implements SwingConstants ...@@ -1326,8 +1325,7 @@ public class SwingUtilities implements SwingConstants
* <p> * <p>
* Additional documentation and examples for this method can be * Additional documentation and examples for this method can be
* found in * found in
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How to Use Threads</a>, * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>.
* in <em>The Java Tutorial</em>.
* <p> * <p>
* As of 1.3 this method is just a cover for * As of 1.3 this method is just a cover for
* <code>java.awt.EventQueue.invokeAndWait()</code>. * <code>java.awt.EventQueue.invokeAndWait()</code>.
......
...@@ -50,8 +50,8 @@ import sun.swing.AccumulativeRunnable; ...@@ -50,8 +50,8 @@ import sun.swing.AccumulativeRunnable;
* When writing a multi-threaded application using Swing, there are * When writing a multi-threaded application using Swing, there are
* two constraints to keep in mind: * two constraints to keep in mind:
* (refer to * (refer to
* <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html"> * <a href="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">
* How to Use Threads * Concurrency in Swing
* </a> for more details): * </a> for more details):
* <ul> * <ul>
* <li> Time-consuming tasks should not be run on the <i>Event * <li> Time-consuming tasks should not be run on the <i>Event
......
...@@ -119,9 +119,9 @@ input. Refer to {@link javax.swing.SwingWorker} for the preferred way to do such ...@@ -119,9 +119,9 @@ input. Refer to {@link javax.swing.SwingWorker} for the preferred way to do such
processing when working with Swing. processing when working with Swing.
<p> <p>
More information on this topic can be found in the More information on this topic can be found in the
<a href="http://java.sun.com/docs/books/tutorial/uiswing/">Swing tutorial</a>, <a href="http://download.oracle.com/javase/tutorial/uiswing/">Swing tutorial</a>,
in particular the section on in particular the section on
<a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How to Use Threads</a>. <a href="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>.
<H2> <H2>
......
...@@ -409,8 +409,8 @@ public abstract class AbstractDocument implements Document, Serializable { ...@@ -409,8 +409,8 @@ public abstract class AbstractDocument implements Document, Serializable {
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param r the renderer to execute * @param r the renderer to execute
*/ */
...@@ -570,8 +570,8 @@ public abstract class AbstractDocument implements Document, Serializable { ...@@ -570,8 +570,8 @@ public abstract class AbstractDocument implements Document, Serializable {
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param offs the starting offset >= 0 * @param offs the starting offset >= 0
* @param len the number of characters to remove >= 0 * @param len the number of characters to remove >= 0
...@@ -683,8 +683,8 @@ public abstract class AbstractDocument implements Document, Serializable { ...@@ -683,8 +683,8 @@ public abstract class AbstractDocument implements Document, Serializable {
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param offs the starting offset >= 0 * @param offs the starting offset >= 0
* @param str the string to insert; does nothing with null/empty strings * @param str the string to insert; does nothing with null/empty strings
...@@ -818,8 +818,8 @@ public abstract class AbstractDocument implements Document, Serializable { ...@@ -818,8 +818,8 @@ public abstract class AbstractDocument implements Document, Serializable {
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param offs the position in the model >= 0 * @param offs the position in the model >= 0
* @return the position * @return the position
......
...@@ -237,8 +237,8 @@ public class DefaultCaret extends Rectangle implements Caret, FocusListener, Mou ...@@ -237,8 +237,8 @@ public class DefaultCaret extends Rectangle implements Caret, FocusListener, Mou
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
*/ */
protected final synchronized void repaint() { protected final synchronized void repaint() {
if (component != null) { if (component != null) {
......
...@@ -173,8 +173,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc ...@@ -173,8 +173,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param offset the starting offset >= 0 * @param offset the starting offset >= 0
* @param data the element data * @param data the element data
...@@ -426,8 +426,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc ...@@ -426,8 +426,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param pos the offset from the start of the document >= 0 * @param pos the offset from the start of the document >= 0
* @param s the logical style to assign to the paragraph, null if none * @param s the logical style to assign to the paragraph, null if none
...@@ -483,8 +483,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc ...@@ -483,8 +483,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param offset the offset in the document >= 0 * @param offset the offset in the document >= 0
* @param length the length >= 0 * @param length the length >= 0
...@@ -536,8 +536,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc ...@@ -536,8 +536,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param offset the offset into the paragraph >= 0 * @param offset the offset into the paragraph >= 0
* @param length the number of characters affected >= 0 * @param length the number of characters affected >= 0
......
...@@ -2213,8 +2213,8 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A ...@@ -2213,8 +2213,8 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* <p> * <p>
* This method is thread-safe, although most Swing methods are not. Please * This method is thread-safe, although most Swing methods are not. Please
* see <A * see <A
* HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html"> * HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">
* How to Use Threads</A> for more information. * Concurrency in Swing</A> for more information.
* *
* <p> * <p>
* <b>Sample Usage</b>. This code snippet shows a cross-platform print * <b>Sample Usage</b>. This code snippet shows a cross-platform print
...@@ -2471,8 +2471,8 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A ...@@ -2471,8 +2471,8 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* <p> * <p>
* This method is thread-safe, although most Swing methods are not. Please * This method is thread-safe, although most Swing methods are not. Please
* see <A * see <A
* HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html"> * HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">
* How to Use Threads</A> for more information. * Concurrency in Swing</A> for more information.
* *
* <p> * <p>
* The returned {@code Printable} can be printed on any thread. * The returned {@code Printable} can be printed on any thread.
......
...@@ -100,8 +100,8 @@ public class PlainDocument extends AbstractDocument { ...@@ -100,8 +100,8 @@ public class PlainDocument extends AbstractDocument {
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param offs the starting offset >= 0 * @param offs the starting offset >= 0
* @param str the string to insert; does nothing with null/empty strings * @param str the string to insert; does nothing with null/empty strings
......
...@@ -292,8 +292,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon ...@@ -292,8 +292,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param old the old attribute set * @param old the old attribute set
* @param name the non-null attribute name * @param name the non-null attribute name
...@@ -321,8 +321,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon ...@@ -321,8 +321,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param old the old attribute set * @param old the old attribute set
* @param attr the attributes to add * @param attr the attributes to add
...@@ -349,8 +349,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon ...@@ -349,8 +349,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param old the old set of attributes * @param old the old set of attributes
* @param name the non-null attribute name * @param name the non-null attribute name
...@@ -377,8 +377,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon ...@@ -377,8 +377,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param old the old attribute set * @param old the old attribute set
* @param names the attribute names * @param names the attribute names
...@@ -405,8 +405,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon ...@@ -405,8 +405,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param old the old attribute set * @param old the old attribute set
* @param attrs the attributes * @param attrs the attributes
...@@ -445,8 +445,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon ...@@ -445,8 +445,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param a the set to reclaim * @param a the set to reclaim
*/ */
......
...@@ -474,8 +474,8 @@ public class HTMLDocument extends DefaultStyledDocument { ...@@ -474,8 +474,8 @@ public class HTMLDocument extends DefaultStyledDocument {
* <p> * <p>
* This method is thread safe, although most Swing methods * This method is thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @param offset the offset into the paragraph (must be at least 0) * @param offset the offset into the paragraph (must be at least 0)
* @param length the number of characters affected (must be at least 0) * @param length the number of characters affected (must be at least 0)
......
...@@ -43,8 +43,8 @@ import java.lang.reflect.InvocationTargetException; ...@@ -43,8 +43,8 @@ import java.lang.reflect.InvocationTargetException;
* <p/> * <p/>
* Methods of these class are thread safe, although most Swing methods * Methods of these class are thread safe, although most Swing methods
* are not. Please see * are not. Please see
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
* to Use Threads</A> for more information. * in Swing</A> for more information.
* *
* @author Alexander Potochkin * @author Alexander Potochkin
* @since 1.6 * @since 1.6
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册