diff options
author | mcherkas <none@none> | 2013-10-04 20:13:32 +0400 |
---|---|---|
committer | mcherkas <none@none> | 2013-10-04 20:13:32 +0400 |
commit | 1aa788c2adb480fa53f6f10c7bd0b14abde391f2 (patch) | |
tree | 60f603362fab6f33fe0e73b0d844da1cc8765894 | |
parent | b2b02488f5938a552a7d58b7baee4d7ef1c35eb6 (diff) | |
download | jdk8u_jdk-1aa788c2adb480fa53f6f10c7bd0b14abde391f2.tar.gz |
8020688: Broken links in documentation at http://docs.oracle.com/javase/6/docs/api/index.
Reviewed-by: anthony, alexsch
141 files changed, 207 insertions, 213 deletions
diff --git a/src/macosx/classes/apple/applescript/AppleScriptEngine.java b/src/macosx/classes/apple/applescript/AppleScriptEngine.java index 917037b799..e50f218ef7 100644 --- a/src/macosx/classes/apple/applescript/AppleScriptEngine.java +++ b/src/macosx/classes/apple/applescript/AppleScriptEngine.java @@ -155,7 +155,7 @@ public class AppleScriptEngine implements ScriptEngine { TRACE("init()"); // set up our context /* TODO -- name of current executable? bad java documentation at: - * http://java.sun.com/javase/6/docs/api/javax/script/ScriptEngine.html#FILENAME */ + * http://docs.oracle.com/javase/6/docs/api/javax/script/ScriptEngine.html#FILENAME */ put(ScriptEngine.FILENAME, ""); put(ScriptEngine.ENGINE, getEngine()); put(ScriptEngine.ENGINE_VERSION, getEngineVersion()); diff --git a/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/x509/XMLX509SKI.java b/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/x509/XMLX509SKI.java index e4617daead..6030c96637 100644 --- a/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/x509/XMLX509SKI.java +++ b/src/share/classes/com/sun/org/apache/xml/internal/security/keys/content/x509/XMLX509SKI.java @@ -35,7 +35,7 @@ import org.w3c.dom.Element; /** * Handles SubjectKeyIdentifier (SKI) for X.509v3. * - * @see <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/security/cert/X509Extension.html"> + * @see <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Extension.html"> * Interface X509Extension</A> */ public class XMLX509SKI extends SignatureElementProxy implements XMLX509DataContent { diff --git a/src/share/classes/com/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP.java b/src/share/classes/com/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP.java index cd0967215a..a3359bdc67 100644 --- a/src/share/classes/com/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP.java +++ b/src/share/classes/com/sun/org/apache/xml/internal/security/utils/resolver/implementations/ResolverDirectHTTP.java @@ -56,7 +56,7 @@ import com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverS * </PRE> * * @see <A HREF="http://www.javaworld.com/javaworld/javatips/jw-javatip42_p.html">Java Tip 42: Write Java apps that work with proxy-based firewalls</A> - * @see <A HREF="http://java.sun.com/j2se/1.4/docs/guide/net/properties.html">SUN J2SE docs for network properties</A> + * @see <A HREF="http://docs.oracle.com/javase/1.4.2/docs/guide/net/properties.html">SUN J2SE docs for network properties</A> * @see <A HREF="http://metalab.unc.edu/javafaq/javafaq.html#proxy">The JAVA FAQ Question 9.5: How do I make Java work with a proxy server?</A> */ public class ResolverDirectHTTP extends ResourceResolverSpi { diff --git a/src/share/classes/java/applet/Applet.java b/src/share/classes/java/applet/Applet.java index ff9389f36f..2e8e39a19f 100644 --- a/src/share/classes/java/applet/Applet.java +++ b/src/share/classes/java/applet/Applet.java @@ -143,11 +143,11 @@ public class Applet extends Panel { * For example, suppose an applet is contained * within the document: * <blockquote><pre> - * http://java.sun.com/products/jdk/1.2/index.html + * http://www.oracle.com/technetwork/java/index.html * </pre></blockquote> * The document base is: * <blockquote><pre> - * http://java.sun.com/products/jdk/1.2/index.html + * http://www.oracle.com/technetwork/java/index.html * </pre></blockquote> * * @return the {@link java.net.URL} of the document that contains this diff --git a/src/share/classes/java/applet/AppletStub.java b/src/share/classes/java/applet/AppletStub.java index 0887a586bd..a1a31ad3cd 100644 --- a/src/share/classes/java/applet/AppletStub.java +++ b/src/share/classes/java/applet/AppletStub.java @@ -54,11 +54,11 @@ public interface AppletStub { * For example, suppose an applet is contained * within the document: * <blockquote><pre> - * http://java.sun.com/products/jdk/1.2/index.html + * http://www.oracle.com/technetwork/java/index.html * </pre></blockquote> * The document base is: * <blockquote><pre> - * http://java.sun.com/products/jdk/1.2/index.html + * http://www.oracle.com/technetwork/java/index.html * </pre></blockquote> * * @return the {@link java.net.URL} of the document that contains the diff --git a/src/share/classes/java/awt/Component.java b/src/share/classes/java/awt/Component.java index 64a753844d..040f848437 100644 --- a/src/share/classes/java/awt/Component.java +++ b/src/share/classes/java/awt/Component.java @@ -173,10 +173,10 @@ import sun.util.logging.PlatformLogger; * <b>Note</b>: For more information on the paint mechanisms utilitized * by AWT and Swing, including information on how to write the most * efficient painting code, see - * <a href="http://java.sun.com/products/jfc/tsc/articles/painting/index.html">Painting in AWT and Swing</a>. + * <a href="http://www.oracle.com/technetwork/java/painting-140037.html">Painting in AWT and Swing</a>. * <p> * For details on the focus subsystem, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, and the * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> @@ -3205,7 +3205,7 @@ public abstract class Component implements ImageObserver, MenuContainer, * <b>Note</b>: For more information on the paint mechanisms utilitized * by AWT and Swing, including information on how to write the most * efficient painting code, see - * <a href="http://java.sun.com/products/jfc/tsc/articles/painting/index.html">Painting in AWT and Swing</a>. + * <a href="http://www.oracle.com/technetwork/java/painting-140037.html">Painting in AWT and Swing</a>. * * @param g the graphics context to use for painting * @see #update @@ -3240,7 +3240,7 @@ public abstract class Component implements ImageObserver, MenuContainer, * <b>Note</b>: For more information on the paint mechanisms utilitized * by AWT and Swing, including information on how to write the most * efficient painting code, see - * <a href="http://java.sun.com/products/jfc/tsc/articles/painting/index.html">Painting in AWT and Swing</a>. + * <a href="http://www.oracle.com/technetwork/java/painting-140037.html">Painting in AWT and Swing</a>. * * @param g the specified context to use for updating * @see #paint @@ -3301,7 +3301,7 @@ public abstract class Component implements ImageObserver, MenuContainer, * <b>Note</b>: For more information on the paint mechanisms utilitized * by AWT and Swing, including information on how to write the most * efficient painting code, see - * <a href="http://java.sun.com/products/jfc/tsc/articles/painting/index.html">Painting in AWT and Swing</a>. + * <a href="http://www.oracle.com/technetwork/java/painting-140037.html">Painting in AWT and Swing</a>. * * @see #update(Graphics) @@ -3319,7 +3319,7 @@ public abstract class Component implements ImageObserver, MenuContainer, * <b>Note</b>: For more information on the paint mechanisms utilitized * by AWT and Swing, including information on how to write the most * efficient painting code, see - * <a href="http://java.sun.com/products/jfc/tsc/articles/painting/index.html">Painting in AWT and Swing</a>. + * <a href="http://www.oracle.com/technetwork/java/painting-140037.html">Painting in AWT and Swing</a>. * * @param tm maximum time in milliseconds before update * @see #paint @@ -3341,7 +3341,7 @@ public abstract class Component implements ImageObserver, MenuContainer, * <b>Note</b>: For more information on the paint mechanisms utilitized * by AWT and Swing, including information on how to write the most * efficient painting code, see - * <a href="http://java.sun.com/products/jfc/tsc/articles/painting/index.html">Painting in AWT and Swing</a>. + * <a href="http://www.oracle.com/technetwork/java/painting-140037.html">Painting in AWT and Swing</a>. * * @param x the <i>x</i> coordinate * @param y the <i>y</i> coordinate @@ -3366,7 +3366,7 @@ public abstract class Component implements ImageObserver, MenuContainer, * <b>Note</b>: For more information on the paint mechanisms utilitized * by AWT and Swing, including information on how to write the most * efficient painting code, see - * <a href="http://java.sun.com/products/jfc/tsc/articles/painting/index.html">Painting in AWT and Swing</a>. + * <a href="http://www.oracle.com/technetwork/java/painting-140037.html">Painting in AWT and Swing</a>. * * @param tm maximum time in milliseconds before update * @param x the <i>x</i> coordinate diff --git a/src/share/classes/java/awt/Container.java b/src/share/classes/java/awt/Container.java index 14bd55dae5..82b682db78 100644 --- a/src/share/classes/java/awt/Container.java +++ b/src/share/classes/java/awt/Container.java @@ -75,7 +75,7 @@ import sun.security.action.GetBooleanAction; * (and hence to the bottom of the stacking order). * <p> * <b>Note</b>: For details on the focus subsystem, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, and the * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> diff --git a/src/share/classes/java/awt/DefaultFocusTraversalPolicy.java b/src/share/classes/java/awt/DefaultFocusTraversalPolicy.java index 0c30fe9b13..ae9dd910ee 100644 --- a/src/share/classes/java/awt/DefaultFocusTraversalPolicy.java +++ b/src/share/classes/java/awt/DefaultFocusTraversalPolicy.java @@ -54,7 +54,7 @@ import java.awt.peer.ComponentPeer; * impact, the focusability of the Component itself. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, and the * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> diff --git a/src/share/classes/java/awt/DefaultKeyboardFocusManager.java b/src/share/classes/java/awt/DefaultKeyboardFocusManager.java index 4e07f16fa1..040e659289 100644 --- a/src/share/classes/java/awt/DefaultKeyboardFocusManager.java +++ b/src/share/classes/java/awt/DefaultKeyboardFocusManager.java @@ -49,7 +49,7 @@ import sun.awt.TimedWindowEvent; * Container's FocusTraversalPolicy. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, and the * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> diff --git a/src/share/classes/java/awt/DisplayMode.java b/src/share/classes/java/awt/DisplayMode.java index c4bd09530e..71a5d7e812 100644 --- a/src/share/classes/java/awt/DisplayMode.java +++ b/src/share/classes/java/awt/DisplayMode.java @@ -35,7 +35,7 @@ import java.lang.annotation.Native; * (see {@link GraphicsDevice#isDisplayChangeSupported}). * <p> * For more information on full-screen exclusive mode API, see the - * <a href="http://java.sun.com/docs/books/tutorial/extra/fullscreen/index.html"> + * <a href="http://docs.oracle.com/javase/tutorial/extra/fullscreen/index.html"> * Full-Screen Exclusive Mode API Tutorial</a>. * * @see GraphicsDevice diff --git a/src/share/classes/java/awt/FocusTraversalPolicy.java b/src/share/classes/java/awt/FocusTraversalPolicy.java index 6b7f4e97e9..0d8323bc16 100644 --- a/src/share/classes/java/awt/FocusTraversalPolicy.java +++ b/src/share/classes/java/awt/FocusTraversalPolicy.java @@ -49,7 +49,7 @@ package java.awt; * policy is used to perform the search operation. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, and the * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> diff --git a/src/share/classes/java/awt/Font.java b/src/share/classes/java/awt/Font.java index 67b09fa286..3908b075c1 100644 --- a/src/share/classes/java/awt/Font.java +++ b/src/share/classes/java/awt/Font.java @@ -127,7 +127,7 @@ import static sun.font.EAttribute.*; * <p> * For a discussion of the relative advantages and disadvantages of using * physical or logical fonts, see the - * <a href="http://java.sun.com/j2se/corejava/intl/reference/faqs/index.html#desktop-rendering">Internationalization FAQ</a> + * <a href="http://www.oracle.com/technetwork/java/javase/tech/faq-jsp-138165.html">Internationalization FAQ</a> * document. * * <h4>Font Faces and Names</h4> diff --git a/src/share/classes/java/awt/GraphicsDevice.java b/src/share/classes/java/awt/GraphicsDevice.java index c619a2aee1..cebac4abc6 100644 --- a/src/share/classes/java/awt/GraphicsDevice.java +++ b/src/share/classes/java/awt/GraphicsDevice.java @@ -69,7 +69,7 @@ import sun.awt.SunToolkit; * </pre> * <p> * For more information on full-screen exclusive mode API, see the - * <a href="http://java.sun.com/docs/books/tutorial/extra/fullscreen/index.html"> + * <a href="http://docs.oracle.com/javase/tutorial/extra/fullscreen/index.html"> * Full-Screen Exclusive Mode API Tutorial</a>. * * @see GraphicsEnvironment diff --git a/src/share/classes/java/awt/KeyboardFocusManager.java b/src/share/classes/java/awt/KeyboardFocusManager.java index 72c3fdb495..83e5933fef 100644 --- a/src/share/classes/java/awt/KeyboardFocusManager.java +++ b/src/share/classes/java/awt/KeyboardFocusManager.java @@ -88,7 +88,7 @@ import sun.awt.AWTAccessor; * ClassLoader. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, and the * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> diff --git a/src/share/classes/java/awt/Toolkit.java b/src/share/classes/java/awt/Toolkit.java index de14eef1fe..606df3ed15 100644 --- a/src/share/classes/java/awt/Toolkit.java +++ b/src/share/classes/java/awt/Toolkit.java @@ -83,7 +83,7 @@ import sun.util.CoreResourceBundleControl; * <p> * <li>Moving the focus from one component to another. * <br>For more information, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html#transferTiming">Timing + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html#transferTiming">Timing * Focus Transfers</a>, a section in * <a href="http://java.sun.com/docs/books/tutorial/uiswing/">The Swing * Tutorial</a>. diff --git a/src/share/classes/java/awt/datatransfer/DataFlavor.java b/src/share/classes/java/awt/datatransfer/DataFlavor.java index 7f1b388d37..ac1403348d 100644 --- a/src/share/classes/java/awt/datatransfer/DataFlavor.java +++ b/src/share/classes/java/awt/datatransfer/DataFlavor.java @@ -90,7 +90,7 @@ import sun.awt.datatransfer.DataTransferer; * the same results. * <p> * For more information on the using data transfer with Swing see - * the <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html"> + * the <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html"> * How to Use Drag and Drop and Data Transfer</a>, * section in <em>Java Tutorial</em>. * diff --git a/src/share/classes/java/awt/datatransfer/Transferable.java b/src/share/classes/java/awt/datatransfer/Transferable.java index 56377da82a..3c5219ddb1 100644 --- a/src/share/classes/java/awt/datatransfer/Transferable.java +++ b/src/share/classes/java/awt/datatransfer/Transferable.java @@ -32,7 +32,7 @@ import java.io.IOException; * for a transfer operation. * <p> * For information on using data transfer with Swing, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html"> * How to Use Drag and Drop and Data Transfer</a>, * a section in <em>The Java Tutorial</em>, for more information. * diff --git a/src/share/classes/java/awt/event/ActionEvent.java b/src/share/classes/java/awt/event/ActionEvent.java index 08bd8db95b..d549db020c 100644 --- a/src/share/classes/java/awt/event/ActionEvent.java +++ b/src/share/classes/java/awt/event/ActionEvent.java @@ -52,7 +52,7 @@ import java.lang.annotation.Native; * in the range from {@code ACTION_FIRST} to {@code ACTION_LAST}. * * @see ActionListener - * @see <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/actionlistener.html">Tutorial: How to Write an Action Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/actionlistener.html">Tutorial: How to Write an Action Listener</a> * * @author Carl Quinn * @since 1.1 diff --git a/src/share/classes/java/awt/event/ActionListener.java b/src/share/classes/java/awt/event/ActionListener.java index 78574c22b4..cb766d3134 100644 --- a/src/share/classes/java/awt/event/ActionListener.java +++ b/src/share/classes/java/awt/event/ActionListener.java @@ -37,7 +37,7 @@ import java.util.EventListener; * invoked. * * @see ActionEvent - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/eventmodel.html">Tutorial: Java 1.1 Event Model</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/actionlistener.html">How to Write an Action Listener</a> * * @author Carl Quinn * @since 1.1 diff --git a/src/share/classes/java/awt/event/ComponentAdapter.java b/src/share/classes/java/awt/event/ComponentAdapter.java index 46597dac97..028b8d3140 100644 --- a/src/share/classes/java/awt/event/ComponentAdapter.java +++ b/src/share/classes/java/awt/event/ComponentAdapter.java @@ -44,7 +44,7 @@ package java.awt.event; * * @see ComponentEvent * @see ComponentListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/componentlistener.html">Tutorial: Writing a Component Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/componentlistener.html">Tutorial: Writing a Component Listener</a> * * @author Carl Quinn * @since 1.1 diff --git a/src/share/classes/java/awt/event/ComponentEvent.java b/src/share/classes/java/awt/event/ComponentEvent.java index 67149a7a3a..d168f6c176 100644 --- a/src/share/classes/java/awt/event/ComponentEvent.java +++ b/src/share/classes/java/awt/event/ComponentEvent.java @@ -60,7 +60,7 @@ import java.lang.annotation.Native; * * @see ComponentAdapter * @see ComponentListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/componentlistener.html">Tutorial: Writing a Component Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/componentlistener.html">Tutorial: Writing a Component Listener</a> * * @author Carl Quinn * @since 1.1 diff --git a/src/share/classes/java/awt/event/ComponentListener.java b/src/share/classes/java/awt/event/ComponentListener.java index a64a1aac49..8f0aad1487 100644 --- a/src/share/classes/java/awt/event/ComponentListener.java +++ b/src/share/classes/java/awt/event/ComponentListener.java @@ -46,7 +46,7 @@ import java.util.EventListener; * * @see ComponentAdapter * @see ComponentEvent - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/componentlistener.html">Tutorial: Writing a Component Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/componentlistener.html">Tutorial: Writing a Component Listener</a> * * @author Carl Quinn * @since 1.1 diff --git a/src/share/classes/java/awt/event/ContainerAdapter.java b/src/share/classes/java/awt/event/ContainerAdapter.java index 3ce3b4defb..61f6c30174 100644 --- a/src/share/classes/java/awt/event/ContainerAdapter.java +++ b/src/share/classes/java/awt/event/ContainerAdapter.java @@ -44,7 +44,7 @@ package java.awt.event; * * @see ContainerEvent * @see ContainerListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/containerlistener.html">Tutorial: Writing a Container Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/containerlistener.html">Tutorial: Writing a Container Listener</a> * * @author Amy Fowler * @since 1.1 diff --git a/src/share/classes/java/awt/event/ContainerEvent.java b/src/share/classes/java/awt/event/ContainerEvent.java index 655acadb13..2d07046f45 100644 --- a/src/share/classes/java/awt/event/ContainerEvent.java +++ b/src/share/classes/java/awt/event/ContainerEvent.java @@ -52,7 +52,7 @@ import java.awt.Component; * * @see ContainerAdapter * @see ContainerListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/containerlistener.html">Tutorial: Writing a Container Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/containerlistener.html">Tutorial: Writing a Container Listener</a> * * @author Tim Prinzing * @author Amy Fowler diff --git a/src/share/classes/java/awt/event/ContainerListener.java b/src/share/classes/java/awt/event/ContainerListener.java index 6fb8321589..3692e40513 100644 --- a/src/share/classes/java/awt/event/ContainerListener.java +++ b/src/share/classes/java/awt/event/ContainerListener.java @@ -46,7 +46,7 @@ import java.util.EventListener; * * @see ContainerAdapter * @see ContainerEvent - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/containerlistener.html">Tutorial: Writing a Container Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/containerlistener.html">Tutorial: Writing a Container Listener</a> * * @author Tim Prinzing * @author Amy Fowler diff --git a/src/share/classes/java/awt/event/FocusAdapter.java b/src/share/classes/java/awt/event/FocusAdapter.java index 00d9b4fa95..7511da7799 100644 --- a/src/share/classes/java/awt/event/FocusAdapter.java +++ b/src/share/classes/java/awt/event/FocusAdapter.java @@ -44,7 +44,7 @@ package java.awt.event; * * @see FocusEvent * @see FocusListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/focuslistener.html">Tutorial: Writing a Focus Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/focuslistener.html">Tutorial: Writing a Focus Listener</a> * * @author Carl Quinn * @since 1.1 diff --git a/src/share/classes/java/awt/event/FocusEvent.java b/src/share/classes/java/awt/event/FocusEvent.java index e70b9684bd..2f9e1911c9 100644 --- a/src/share/classes/java/awt/event/FocusEvent.java +++ b/src/share/classes/java/awt/event/FocusEvent.java @@ -57,7 +57,7 @@ import sun.awt.SunToolkit; * * @see FocusAdapter * @see FocusListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/focuslistener.html">Tutorial: Writing a Focus Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/focuslistener.html">Tutorial: Writing a Focus Listener</a> * * @author Carl Quinn * @author Amy Fowler diff --git a/src/share/classes/java/awt/event/FocusListener.java b/src/share/classes/java/awt/event/FocusListener.java index 5f71d501dc..9183425d3e 100644 --- a/src/share/classes/java/awt/event/FocusListener.java +++ b/src/share/classes/java/awt/event/FocusListener.java @@ -42,7 +42,7 @@ import java.util.EventListener; * * @see FocusAdapter * @see FocusEvent - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/focuslistener.html">Tutorial: Writing a Focus Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/focuslistener.html">Tutorial: Writing a Focus Listener</a> * * @author Carl Quinn * @since 1.1 diff --git a/src/share/classes/java/awt/event/ItemEvent.java b/src/share/classes/java/awt/event/ItemEvent.java index b7c7e5e216..2caee9e79a 100644 --- a/src/share/classes/java/awt/event/ItemEvent.java +++ b/src/share/classes/java/awt/event/ItemEvent.java @@ -58,7 +58,7 @@ import java.awt.ItemSelectable; * * @see java.awt.ItemSelectable * @see ItemListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/itemlistener.html">Tutorial: Writing an Item Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/itemlistener.html">Tutorial: Writing an Item Listener</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/event/ItemListener.java b/src/share/classes/java/awt/event/ItemListener.java index 8a8d3cb4f7..3cc7fa8867 100644 --- a/src/share/classes/java/awt/event/ItemListener.java +++ b/src/share/classes/java/awt/event/ItemListener.java @@ -40,7 +40,7 @@ import java.util.EventListener; * * @see java.awt.ItemSelectable * @see ItemEvent - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/itemlistener.html">Tutorial: Writing an Item Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/itemlistener.html">Tutorial: Writing an Item Listener</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/event/KeyAdapter.java b/src/share/classes/java/awt/event/KeyAdapter.java index c888101b3d..3c0d61ca98 100644 --- a/src/share/classes/java/awt/event/KeyAdapter.java +++ b/src/share/classes/java/awt/event/KeyAdapter.java @@ -46,7 +46,7 @@ package java.awt.event; * * @see KeyEvent * @see KeyListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/keylistener.html">Tutorial: Writing a Key Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/keylistener.html">Tutorial: Writing a Key Listener</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/event/KeyEvent.java b/src/share/classes/java/awt/event/KeyEvent.java index bef1037d7b..5f88e3a916 100644 --- a/src/share/classes/java/awt/event/KeyEvent.java +++ b/src/share/classes/java/awt/event/KeyEvent.java @@ -145,7 +145,7 @@ import sun.awt.AWTAccessor; * * @see KeyAdapter * @see KeyListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/keylistener.html">Tutorial: Writing a Key Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/keylistener.html">Tutorial: Writing a Key Listener</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/event/MouseAdapter.java b/src/share/classes/java/awt/event/MouseAdapter.java index e4de8dbc27..b908a6626d 100644 --- a/src/share/classes/java/awt/event/MouseAdapter.java +++ b/src/share/classes/java/awt/event/MouseAdapter.java @@ -63,7 +63,7 @@ package java.awt.event; * @see MouseListener * @see MouseMotionListener * @see MouseWheelListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/mouselistener.html">Tutorial: Writing a Mouse Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/mouselistener.html">Tutorial: Writing a Mouse Listener</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/event/MouseEvent.java b/src/share/classes/java/awt/event/MouseEvent.java index 15cb6ee030..5ad1d1753a 100644 --- a/src/share/classes/java/awt/event/MouseEvent.java +++ b/src/share/classes/java/awt/event/MouseEvent.java @@ -182,8 +182,8 @@ import sun.awt.SunToolkit; * @see MouseMotionAdapter * @see MouseMotionListener * @see MouseWheelListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/mouselistener.html">Tutorial: Writing a Mouse Listener</a> - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/mousemotionlistener.html">Tutorial: Writing a Mouse Motion Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/mouselistener.html">Tutorial: Writing a Mouse Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/mousemotionlistener.html">Tutorial: Writing a Mouse Motion Listener</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/event/MouseListener.java b/src/share/classes/java/awt/event/MouseListener.java index a9605fc9ab..534ed392aa 100644 --- a/src/share/classes/java/awt/event/MouseListener.java +++ b/src/share/classes/java/awt/event/MouseListener.java @@ -50,7 +50,7 @@ import java.util.EventListener; * * @see MouseAdapter * @see MouseEvent - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/mouselistener.html">Tutorial: Writing a Mouse Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/mouselistener.html">Tutorial: Writing a Mouse Listener</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/event/MouseMotionAdapter.java b/src/share/classes/java/awt/event/MouseMotionAdapter.java index d19bced786..e349c9d2d2 100644 --- a/src/share/classes/java/awt/event/MouseMotionAdapter.java +++ b/src/share/classes/java/awt/event/MouseMotionAdapter.java @@ -49,7 +49,7 @@ package java.awt.event; * * @see MouseEvent * @see MouseMotionListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/mousemotionlistener.html">Tutorial: Writing a Mouse Motion Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/mousemotionlistener.html">Tutorial: Writing a Mouse Motion Listener</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/event/MouseMotionListener.java b/src/share/classes/java/awt/event/MouseMotionListener.java index 4b8ff0899c..8bfb15234c 100644 --- a/src/share/classes/java/awt/event/MouseMotionListener.java +++ b/src/share/classes/java/awt/event/MouseMotionListener.java @@ -47,7 +47,7 @@ import java.util.EventListener; * * @see MouseMotionAdapter * @see MouseEvent - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/mousemotionlistener.html">Tutorial: Writing a Mouse Motion Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/mousemotionlistener.html">Tutorial: Writing a Mouse Motion Listener</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/event/WindowAdapter.java b/src/share/classes/java/awt/event/WindowAdapter.java index 38c56363d2..131431df47 100644 --- a/src/share/classes/java/awt/event/WindowAdapter.java +++ b/src/share/classes/java/awt/event/WindowAdapter.java @@ -45,7 +45,7 @@ package java.awt.event; * * @see WindowEvent * @see WindowListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/windowlistener.html">Tutorial: Writing a Window Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/windowlistener.html">Tutorial: Writing a Window Listener</a> * * @author Carl Quinn * @author Amy Fowler diff --git a/src/share/classes/java/awt/event/WindowEvent.java b/src/share/classes/java/awt/event/WindowEvent.java index 49e45f3991..ef5082937f 100644 --- a/src/share/classes/java/awt/event/WindowEvent.java +++ b/src/share/classes/java/awt/event/WindowEvent.java @@ -52,7 +52,7 @@ import sun.awt.SunToolkit; * * @see WindowAdapter * @see WindowListener - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/windowlistener.html">Tutorial: Writing a Window Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/windowlistener.html">Tutorial: Writing a Window Listener</a> * * @since JDK1.1 */ diff --git a/src/share/classes/java/awt/event/WindowFocusListener.java b/src/share/classes/java/awt/event/WindowFocusListener.java index 9835a6bf23..22bba010eb 100644 --- a/src/share/classes/java/awt/event/WindowFocusListener.java +++ b/src/share/classes/java/awt/event/WindowFocusListener.java @@ -47,7 +47,7 @@ import java.util.EventListener; * * @see WindowAdapter * @see WindowEvent - * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/windowlistener.html">Tutorial: Writing a Window Listener</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/windowlistener.html">Tutorial: Writing a Window Listener</a> * * @since 1.4 */ diff --git a/src/share/classes/java/awt/event/WindowListener.java b/src/share/classes/java/awt/event/WindowListener.java index 4b3ff7c1a6..9f752a394f 100644 --- a/src/share/classes/java/awt/event/WindowListener.java +++ b/src/share/classes/java/awt/event/WindowListener.java @@ -44,7 +44,7 @@ import java.util.EventListener; * * @see WindowAdapter * @see WindowEvent - * @see <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/windowlistener.html">Tutorial: How to Write Window Listeners</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/windowlistener.html">Tutorial: How to Write Window Listeners</a> * * @since 1.1 */ diff --git a/src/share/classes/java/awt/geom/Line2D.java b/src/share/classes/java/awt/geom/Line2D.java index 35f70ad5d4..a34e794147 100644 --- a/src/share/classes/java/awt/geom/Line2D.java +++ b/src/share/classes/java/awt/geom/Line2D.java @@ -35,7 +35,7 @@ import java.io.Serializable; * default coordinate system called <i>user space</i> in which the y-axis * values increase downward and x-axis values increase to the right. For * more information on the user space coordinate system, see the - * <a href="http://java.sun.com/j2se/1.3/docs/guide/2d/spec/j2d-intro.fm2.html#61857"> + * <a href="http://docs.oracle.com/javase/1.3/docs/guide/2d/spec/j2d-intro.fm2.html#61857"> * Coordinate Systems</a> section of the Java 2D Programmer's Guide. * <p> * This class is only the abstract superclass for all objects that diff --git a/src/share/classes/java/beans/Introspector.java b/src/share/classes/java/beans/Introspector.java index acc0f77f38..fc8b21856d 100644 --- a/src/share/classes/java/beans/Introspector.java +++ b/src/share/classes/java/beans/Introspector.java @@ -87,7 +87,7 @@ import sun.reflect.misc.ReflectUtil; * <p> * For more information about introspection and design patterns, please * consult the - * <a href="http://java.sun.com/products/javabeans/docs/index.html">JavaBeans™ specification</a>. + * <a href="http://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html">JavaBeans™ specification</a>. */ public class Introspector { diff --git a/src/share/classes/java/net/URI.java b/src/share/classes/java/net/URI.java index 77c2f7a178..71c4f6dc5d 100644 --- a/src/share/classes/java/net/URI.java +++ b/src/share/classes/java/net/URI.java @@ -188,7 +188,7 @@ import java.lang.NullPointerException; // for javadoc * URI * * <blockquote> - * {@code http://java.sun.com/j2se/1.3/docs/guide/collections/designfaq.html#28} + * {@code http://docs.oracle.com/javase/1.3/docs/guide/collections/designfaq.html#28} * </blockquote> * * Resolving the relative URI @@ -227,7 +227,7 @@ import java.lang.NullPointerException; // for javadoc * possible. For example, relativizing the URI * * <blockquote> - * {@code http://java.sun.com/j2se/1.3/docs/guide/index.html} + * {@code http://docs.oracle.com/javase/1.3/docs/guide/index.html} * </blockquote> * * against the base URI diff --git a/src/share/classes/java/text/DecimalFormat.java b/src/share/classes/java/text/DecimalFormat.java index c22e47212b..f89fd15174 100644 --- a/src/share/classes/java/text/DecimalFormat.java +++ b/src/share/classes/java/text/DecimalFormat.java @@ -371,7 +371,7 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter; * } * }</pre></blockquote> * - * @see <a href="http://java.sun.com/docs/books/tutorial/i18n/format/decimalFormat.html">Java Tutorial</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html">Java Tutorial</a> * @see NumberFormat * @see DecimalFormatSymbols * @see ParsePosition diff --git a/src/share/classes/java/text/SimpleDateFormat.java b/src/share/classes/java/text/SimpleDateFormat.java index 5472b0a70d..fa9f673b8b 100644 --- a/src/share/classes/java/text/SimpleDateFormat.java +++ b/src/share/classes/java/text/SimpleDateFormat.java @@ -412,7 +412,7 @@ import sun.util.locale.provider.LocaleProviderAdapter; * If multiple threads access a format concurrently, it must be synchronized * externally. * - * @see <a href="http://java.sun.com/docs/books/tutorial/i18n/format/simpleDateFormat.html">Java Tutorial</a> + * @see <a href="http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html">Java Tutorial</a> * @see java.util.Calendar * @see java.util.TimeZone * @see DateFormat diff --git a/src/share/classes/javax/management/Descriptor.java b/src/share/classes/javax/management/Descriptor.java index 2337e2eb16..b07447ad59 100644 --- a/src/share/classes/javax/management/Descriptor.java +++ b/src/share/classes/javax/management/Descriptor.java @@ -319,7 +319,7 @@ import javax.management.openmbean.OpenType; * <a href="modelmbean/ModelMBeanOperationInfo.html#descriptor"><!-- * -->{@code ModelMBeanOperationInfo}</a>, as * well as the chapter "Model MBeans" of the <a - * href="http://java.sun.com/products/JavaManagement/download.html">JMX + * href="http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html">JMX * Specification</a>. The following table summarizes these fields. Note * that when the Type in this table is Number, a String that is the decimal * representation of a Long can also be used.</p> diff --git a/src/share/classes/javax/swing/AbstractButton.java b/src/share/classes/javax/swing/AbstractButton.java index b8612f1280..9678148e39 100644 --- a/src/share/classes/javax/swing/AbstractButton.java +++ b/src/share/classes/javax/swing/AbstractButton.java @@ -53,12 +53,12 @@ import java.util.*; * configuring a button. Refer to <a href="Action.html#buttonActions"> * Swing Components Supporting <code>Action</code></a> for more * details, and you can find more information in <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How * to Use Actions</a>, a section in <em>The Java Tutorial</em>. * <p> * For further information see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a>, * a section in <em>The Java Tutorial</em>. * <p> * <strong>Warning:</strong> diff --git a/src/share/classes/javax/swing/BorderFactory.java b/src/share/classes/javax/swing/BorderFactory.java index 33b1b0024d..1a1e4ab3b0 100644 --- a/src/share/classes/javax/swing/BorderFactory.java +++ b/src/share/classes/javax/swing/BorderFactory.java @@ -35,7 +35,7 @@ import javax.swing.border.*; * possible, this factory will hand out references to shared * <code>Border</code> instances. * For further information and examples see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html">How + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/border.htmll">How to Use Borders</a>, * a section in <em>The Java Tutorial</em>. * diff --git a/src/share/classes/javax/swing/BoundedRangeModel.java b/src/share/classes/javax/swing/BoundedRangeModel.java index 3d077fcd1f..c8348b9ca2 100644 --- a/src/share/classes/javax/swing/BoundedRangeModel.java +++ b/src/share/classes/javax/swing/BoundedRangeModel.java @@ -71,8 +71,8 @@ import javax.swing.event.*; * * For an example of specifying custom bounded range models used by sliders, * see <a - href="http://java.sun.com/docs/books/tutorial/uiswing/overview/anatomy.html">The Anatomy of a Swing-Based Program</a> - * in <em>The Java Tutorial.</em> + href="http://www.oracle.com/technetwork/java/architecture-142923.html#separable">Separable model architecture</a> + * in <em>A Swing Architecture Overview.</em> * * @author Hans Muller * @see DefaultBoundedRangeModel diff --git a/src/share/classes/javax/swing/Box.java b/src/share/classes/javax/swing/Box.java index d1c132364b..812582a378 100644 --- a/src/share/classes/javax/swing/Box.java +++ b/src/share/classes/javax/swing/Box.java @@ -60,7 +60,7 @@ import javax.accessibility.*; * If you are implementing a <code>BoxLayout</code> you * can find further information and examples in * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/layout/box.html">How to Use BoxLayout</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/layout/box.html">How to Use BoxLayout</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> diff --git a/src/share/classes/javax/swing/BoxLayout.java b/src/share/classes/javax/swing/BoxLayout.java index de1703d5b7..9d7fbf7000 100644 --- a/src/share/classes/javax/swing/BoxLayout.java +++ b/src/share/classes/javax/swing/BoxLayout.java @@ -116,7 +116,7 @@ import java.io.PrintStream; * <p> * For further information and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/layout/box.html">How to Use BoxLayout</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/layout/box.html">How to Use BoxLayout</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> diff --git a/src/share/classes/javax/swing/ButtonGroup.java b/src/share/classes/javax/swing/ButtonGroup.java index c2971f722e..2dce82e988 100644 --- a/src/share/classes/javax/swing/ButtonGroup.java +++ b/src/share/classes/javax/swing/ButtonGroup.java @@ -51,7 +51,7 @@ import java.io.Serializable; * Initially, all buttons in the group are unselected. * <p> * For examples and further information on using button groups see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html#radiobutton">How to Use Radio Buttons</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/button.html#radiobutton">How to Use Radio Buttons</a>, * a section in <em>The Java Tutorial</em>. * <p> * <strong>Warning:</strong> diff --git a/src/share/classes/javax/swing/DefaultFocusManager.java b/src/share/classes/javax/swing/DefaultFocusManager.java index 91304aafbd..4ebc54a909 100644 --- a/src/share/classes/javax/swing/DefaultFocusManager.java +++ b/src/share/classes/javax/swing/DefaultFocusManager.java @@ -37,7 +37,7 @@ import java.util.Comparator; * <code>java.awt.DefaultKeyboardFocusManager</code> instead. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, and the * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> diff --git a/src/share/classes/javax/swing/FocusManager.java b/src/share/classes/javax/swing/FocusManager.java index 6afb84f61e..554a155319 100644 --- a/src/share/classes/javax/swing/FocusManager.java +++ b/src/share/classes/javax/swing/FocusManager.java @@ -34,7 +34,7 @@ import java.awt.*; * <code>java.awt.DefaultKeyboardFocusManager</code> instead. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, and the * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> diff --git a/src/share/classes/javax/swing/ImageIcon.java b/src/share/classes/javax/swing/ImageIcon.java index b16a62fe6b..690ae19c41 100644 --- a/src/share/classes/javax/swing/ImageIcon.java +++ b/src/share/classes/javax/swing/ImageIcon.java @@ -50,7 +50,7 @@ import java.security.*; * * <p> * For further information and examples of using image icons, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/icon.html">How to Use Icons</a> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/icon.html">How to Use Icons</a> * in <em>The Java Tutorial.</em> * * <p> diff --git a/src/share/classes/javax/swing/JApplet.java b/src/share/classes/javax/swing/JApplet.java index 0da6c3e532..5f4c060614 100644 --- a/src/share/classes/javax/swing/JApplet.java +++ b/src/share/classes/javax/swing/JApplet.java @@ -40,7 +40,7 @@ import javax.accessibility.*; * in <em>The Java Tutorial</em>, * in the section * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html">How to Make Applets</a>. + href="http://docs.oracle.com/javase/tutorial/uiswing/components/applet.html">How to Make Applets</a>. * <p> * The <code>JApplet</code> class is slightly incompatible with * <code>java.applet.Applet</code>. <code>JApplet</code> contains a @@ -183,7 +183,7 @@ public class JApplet extends Applet implements Accessible, * are currently typed to {@code JComponent}. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html"> * How to Use Drag and Drop and Data Transfer</a>, a section in * <em>The Java Tutorial</em>, for more information. * diff --git a/src/share/classes/javax/swing/JButton.java b/src/share/classes/javax/swing/JButton.java index 45e8757315..e63977afef 100644 --- a/src/share/classes/javax/swing/JButton.java +++ b/src/share/classes/javax/swing/JButton.java @@ -48,10 +48,10 @@ import java.io.IOException; * configuring a button. Refer to <a href="Action.html#buttonActions"> * Swing Components Supporting <code>Action</code></a> for more * details, and you can find more information in <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How * to Use Actions</a>, a section in <em>The Java Tutorial</em>. * <p> - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a> * in <em>The Java Tutorial</em> * for information and examples of using buttons. * <p> diff --git a/src/share/classes/javax/swing/JCheckBox.java b/src/share/classes/javax/swing/JCheckBox.java index 4d80e9549c..52930f902a 100644 --- a/src/share/classes/javax/swing/JCheckBox.java +++ b/src/share/classes/javax/swing/JCheckBox.java @@ -40,7 +40,7 @@ import java.io.IOException; * An implementation of a check box -- an item that can be selected or * deselected, and which displays its state to the user. * By convention, any number of check boxes in a group can be selected. - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a> * in <em>The Java Tutorial</em> * for examples and information on using check boxes. * <p> @@ -50,7 +50,7 @@ import java.io.IOException; * configuring a button. Refer to <a href="Action.html#buttonActions"> * Swing Components Supporting <code>Action</code></a> for more * details, and you can find more information in <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How * to Use Actions</a>, a section in <em>The Java Tutorial</em>. * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JCheckBoxMenuItem.java b/src/share/classes/javax/swing/JCheckBoxMenuItem.java index 8b42b729f1..2810ee66a1 100644 --- a/src/share/classes/javax/swing/JCheckBoxMenuItem.java +++ b/src/share/classes/javax/swing/JCheckBoxMenuItem.java @@ -59,12 +59,12 @@ import javax.accessibility.*; * configuring a menu item. Refer to <a href="Action.html#buttonActions"> * Swing Components Supporting <code>Action</code></a> for more * details, and you can find more information in <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How * to Use Actions</a>, a section in <em>The Java Tutorial</em>. * <p> * For further information and examples of using check box menu items, * see <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html">How to Use Menus</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JColorChooser.java b/src/share/classes/javax/swing/JColorChooser.java index eb3aff69a5..06da95e89b 100644 --- a/src/share/classes/javax/swing/JColorChooser.java +++ b/src/share/classes/javax/swing/JColorChooser.java @@ -42,7 +42,7 @@ import sun.swing.SwingUtilities2; * a user to manipulate and select a color. * For information about using color choosers, see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/colorchooser.html">How to Use Color Choosers</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/colorchooser.html">How to Use Color Choosers</a>, * a section in <em>The Java Tutorial</em>. * * <p> diff --git a/src/share/classes/javax/swing/JComboBox.java b/src/share/classes/javax/swing/JComboBox.java index ba3bb8abb1..daab76de3f 100644 --- a/src/share/classes/javax/swing/JComboBox.java +++ b/src/share/classes/javax/swing/JComboBox.java @@ -62,8 +62,8 @@ import javax.accessibility.*; * Please see {@link java.beans.XMLEncoder}. * * <p> - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html">How to Use Combo Boxes</a> - * in <a href="http://java.sun.com/Series/Tutorial/index.html"><em>The Java Tutorial</em></a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/combobox.html">How to Use Combo Boxes</a> + * in <a href="http://docs.oracle.com/javase/tutorial/"><em>The Java Tutorial</em></a> * for further information. * <p> * @see ComboBoxModel @@ -350,9 +350,7 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible { * by the look and feel. Some look and feels always use * heavyweight popups, no matter what the value of this property. * <p> - * See the article <a href="http://java.sun.com/products/jfc/tsc/articles/mixing/index.html">Mixing Heavy and Light Components</a> - * on <a href="http://java.sun.com/products/jfc/tsc"> - * <em>The Swing Connection</em></a> + * See the article <a href="http://www.oracle.com/technetwork/articles/java/mixing-components-433992.html">Mixing Heavy and Light Components</a> * This method fires a property changed event. * * @param aFlag if <code>true</code>, lightweight popups are desired diff --git a/src/share/classes/javax/swing/JComponent.java b/src/share/classes/javax/swing/JComponent.java index 13576590a3..5d512ee993 100644 --- a/src/share/classes/javax/swing/JComponent.java +++ b/src/share/classes/javax/swing/JComponent.java @@ -78,7 +78,7 @@ import sun.swing.UIClientPropertyKey; * that provide a place for other Swing components to paint themselves. * For an explanation of containment hierarchies, see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/overview/hierarchy.html">Swing Components and the Containment Hierarchy</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/toplevel.html">Swing Components and the Containment Hierarchy</a>, * a section in <em>The Java Tutorial</em>. * * <p> @@ -92,21 +92,20 @@ import sun.swing.UIClientPropertyKey; * <em>UI delegate</em> -- an object that descends from * {@link javax.swing.plaf.ComponentUI}. * See <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/plaf.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html">How * to Set the Look and Feel</a> * in <em>The Java Tutorial</em> * for more information. * <li>Comprehensive keystroke handling. * See the document <a - * href="http://java.sun.com/products/jfc/tsc/special_report/kestrel/keybindings.html">Keyboard - * Bindings in Swing</a>, - * an article in <em>The Swing Connection</em>, + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/keybinding.html">How to Use Key Bindings</a>, + * an article in <em>The Java Tutorial</em>, * for more information. * <li>Support for tool tips -- * short descriptions that pop up when the cursor lingers * over a component. * See <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/components/tooltip.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/components/tooltip.html">How * to Use Tool Tips</a> * in <em>The Java Tutorial</em> * for more information. @@ -124,15 +123,15 @@ import sun.swing.UIClientPropertyKey; * <li>An infrastructure for painting * that includes double buffering and support for borders. * For more information see <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/overview/draw.html">Painting</a> and - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html">How + * href="http://www.oracle.com/technetwork/java/painting-140037.html#swing">Painting</a> and + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/border.htmll">How * to Use Borders</a>, * both of which are sections in <em>The Java Tutorial</em>. * </ul> * For more information on these subjects, see the * <a href="package-summary.html#package_description">Swing package description</a> * and <em>The Java Tutorial</em> section - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/jcomponent.html">The JComponent Class</a>. + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/jcomponent.html">The JComponent Class</a>. * <p> * <code>JComponent</code> and its subclasses document default values * for certain properties. For example, <code>JTable</code> documents the @@ -150,7 +149,7 @@ import sun.swing.UIClientPropertyKey; * <p> * In release 1.4, the focus subsystem was rearchitected. * For more information, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>. * <p> @@ -1291,7 +1290,7 @@ public abstract class JComponent extends Container implements Serializable, /** * In release 1.4, the focus subsystem was rearchitected. * For more information, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>. * <p> @@ -1353,7 +1352,7 @@ public abstract class JComponent extends Container implements Serializable, /** * In release 1.4, the focus subsystem was rearchitected. * For more information, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>. * <p> @@ -1386,7 +1385,7 @@ public abstract class JComponent extends Container implements Serializable, /** * In release 1.4, the focus subsystem was rearchitected. * For more information, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>. * <p> @@ -1419,7 +1418,7 @@ public abstract class JComponent extends Container implements Serializable, * all, use the <code>setFocusable</code> method instead. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, * for more information. @@ -1438,7 +1437,7 @@ public abstract class JComponent extends Container implements Serializable, * get focus; otherwise returns <code>false</code>. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>, * for more information. @@ -1464,7 +1463,7 @@ public abstract class JComponent extends Container implements Serializable, * its behavior is platform dependent. Instead we recommend the * use of {@link #requestFocusInWindow() requestFocusInWindow()}. * If you would like more information on focus, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>. * @@ -1487,7 +1486,7 @@ public abstract class JComponent extends Container implements Serializable, * use of {@link #requestFocusInWindow(boolean) * requestFocusInWindow(boolean)}. * If you would like more information on focus, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>. * @@ -1509,7 +1508,7 @@ public abstract class JComponent extends Container implements Serializable, * this method. * <p> * If you would like more information on focus, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>. * @@ -1530,7 +1529,7 @@ public abstract class JComponent extends Container implements Serializable, * this method. * <p> * If you would like more information on focus, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>. * @@ -2595,7 +2594,7 @@ public abstract class JComponent extends Container implements Serializable, /** * In release 1.4, the focus subsystem was rearchitected. * For more information, see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> * How to Use the Focus Subsystem</a>, * a section in <em>The Java Tutorial</em>. * <p> @@ -2986,7 +2985,7 @@ public abstract class JComponent extends Container implements Serializable, * Registers the text to display in a tool tip. * The text displays when the cursor lingers over the component. * <p> - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/tooltip.html">How to Use Tool Tips</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/tooltip.html">How to Use Tool Tips</a> * in <em>The Java Tutorial</em> * for further documentation. * @@ -3206,7 +3205,7 @@ public abstract class JComponent extends Container implements Serializable, * default value for the system property is {@code false}. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html"> * How to Use Drag and Drop and Data Transfer</a>, * a section in <em>The Java Tutorial</em>, for more information. * diff --git a/src/share/classes/javax/swing/JDesktopPane.java b/src/share/classes/javax/swing/JDesktopPane.java index 8d5342f47c..74c45d6a8d 100644 --- a/src/share/classes/javax/swing/JDesktopPane.java +++ b/src/share/classes/javax/swing/JDesktopPane.java @@ -63,7 +63,7 @@ import java.util.TreeSet; * (closing, resizing, etc). * <p> * For further documentation and examples see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html">How to Use Internal Frames</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/internalframe.html">How to Use Internal Frames</a>, * a section in <em>The Java Tutorial</em>. * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JDialog.java b/src/share/classes/javax/swing/JDialog.java index a53c4abe50..036c647483 100644 --- a/src/share/classes/javax/swing/JDialog.java +++ b/src/share/classes/javax/swing/JDialog.java @@ -35,7 +35,7 @@ import javax.accessibility.*; * For information about creating dialogs, see * <em>The Java Tutorial</em> section * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html">How + href="http://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html">How * to Make Dialogs</a>. * * <p> @@ -786,7 +786,7 @@ public class JDialog extends Dialog implements WindowConstants, * are currently typed to {@code JComponent}. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html"> * How to Use Drag and Drop and Data Transfer</a>, a section in * <em>The Java Tutorial</em>, for more information. * diff --git a/src/share/classes/javax/swing/JEditorPane.java b/src/share/classes/javax/swing/JEditorPane.java index fa9aeb0aa2..9979286148 100644 --- a/src/share/classes/javax/swing/JEditorPane.java +++ b/src/share/classes/javax/swing/JEditorPane.java @@ -43,7 +43,7 @@ import javax.accessibility.*; /** * A text component to edit various kinds of content. * You can find how-to information and examples of using editor panes in - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/text.html">Using Text Components</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/text.html">Using Text Components</a>, * a section in <em>The Java Tutorial.</em> * * <p> diff --git a/src/share/classes/javax/swing/JFileChooser.java b/src/share/classes/javax/swing/JFileChooser.java index 61806b439b..5f897e3ed9 100644 --- a/src/share/classes/javax/swing/JFileChooser.java +++ b/src/share/classes/javax/swing/JFileChooser.java @@ -57,7 +57,7 @@ import java.lang.ref.WeakReference; * choose a file. * For information about using <code>JFileChooser</code>, see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html">How to Use File Choosers</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/filechooser.html">How to Use File Choosers</a>, * a section in <em>The Java Tutorial</em>. * * <p> diff --git a/src/share/classes/javax/swing/JFrame.java b/src/share/classes/javax/swing/JFrame.java index aee994eecf..c8efb87085 100644 --- a/src/share/classes/javax/swing/JFrame.java +++ b/src/share/classes/javax/swing/JFrame.java @@ -40,7 +40,7 @@ import javax.accessibility.*; * You can find task-oriented documentation about using <code>JFrame</code> * in <em>The Java Tutorial</em>, in the section * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/frame.html">How to Make Frames</a>. + href="http://docs.oracle.com/javase/tutorial/uiswing/components/frame.html">How to Make Frames</a>. * * <p> * The <code>JFrame</code> class is slightly incompatible with <code>Frame</code>. @@ -77,7 +77,7 @@ import javax.accessibility.*; * For more information on content panes * and other features that root panes provide, * see <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html">Using Top-Level Containers</a> in <em>The Java Tutorial</em>. + href="http://docs.oracle.com/javase/tutorial/uiswing/components/toplevel.html">Using Top-Level Containers</a> in <em>The Java Tutorial</em>. * <p> * In a multi-screen environment, you can create a <code>JFrame</code> * on a different screen device. See {@link java.awt.Frame} for more @@ -430,7 +430,7 @@ public class JFrame extends Frame implements WindowConstants, * are currently typed to {@code JComponent}. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html"> * How to Use Drag and Drop and Data Transfer</a>, a section in * <em>The Java Tutorial</em>, for more information. * diff --git a/src/share/classes/javax/swing/JInternalFrame.java b/src/share/classes/javax/swing/JInternalFrame.java index a0ba3a1808..2d2b53202f 100644 --- a/src/share/classes/javax/swing/JInternalFrame.java +++ b/src/share/classes/javax/swing/JInternalFrame.java @@ -50,7 +50,7 @@ import sun.swing.SwingUtilities2; * resizing, title display, and support for a menu bar. * For task-oriented documentation and examples of using internal frames, * see <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html" target="_top">How to Use Internal Frames</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/internalframe.html" target="_top">How to Use Internal Frames</a>, * a section in <em>The Java Tutorial</em>. * * <p> diff --git a/src/share/classes/javax/swing/JLabel.java b/src/share/classes/javax/swing/JLabel.java index 82235093f9..661ef911fb 100644 --- a/src/share/classes/javax/swing/JLabel.java +++ b/src/share/classes/javax/swing/JLabel.java @@ -80,7 +80,7 @@ import java.util.*; * should appear between the text and the image. * The default is 4 pixels. * <p> - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/label.html">How to Use Labels</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/label.html">How to Use Labels</a> * in <em>The Java Tutorial</em> * for further documentation. * <p> diff --git a/src/share/classes/javax/swing/JLayeredPane.java b/src/share/classes/javax/swing/JLayeredPane.java index bf5bc695cd..f0d083a84e 100644 --- a/src/share/classes/javax/swing/JLayeredPane.java +++ b/src/share/classes/javax/swing/JLayeredPane.java @@ -41,7 +41,7 @@ import javax.accessibility.*; * container, where higher-numbered components sit "on top" of other * components. * For task-oriented documentation and examples of using layered panes see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html">How to Use a Layered Pane</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/layeredpane.html">How to Use a Layered Pane</a>, * a section in <em>The Java Tutorial</em>. * <P> * <TABLE STYLE="FLOAT:RIGHT" BORDER="0" SUMMARY="layout"> diff --git a/src/share/classes/javax/swing/JList.java b/src/share/classes/javax/swing/JList.java index ad22fc38e5..53872e5098 100644 --- a/src/share/classes/javax/swing/JList.java +++ b/src/share/classes/javax/swing/JList.java @@ -257,11 +257,9 @@ import static sun.swing.SwingUtilities2.Section.*; * has been added to the <code>java.beans</code> package. * Please see {@link java.beans.XMLEncoder}. * <p> - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/list.html">How to Use Lists</a> - * in <a href="http://java.sun.com/Series/Tutorial/index.html"><em>The Java Tutorial</em></a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/list.html">How to Use Lists</a> + * in <a href="http://docs.oracle.com/javase/tutorial/"><em>The Java Tutorial</em></a> * for further documentation. - * Also see the article <a href="http://java.sun.com/products/jfc/tsc/tech_topics/jlist_1/jlist.html">Advanced JList Programming</a> - * in <a href="http://java.sun.com/products/jfc/tsc"><em>The Swing Connection</em></a>. * <p> * @see ListModel * @see AbstractListModel diff --git a/src/share/classes/javax/swing/JMenu.java b/src/share/classes/javax/swing/JMenu.java index 62b6f41e2f..c0ab0e39cc 100644 --- a/src/share/classes/javax/swing/JMenu.java +++ b/src/share/classes/javax/swing/JMenu.java @@ -76,11 +76,11 @@ import java.lang.ref.WeakReference; * configuring a menu. Refer to <a href="Action.html#buttonActions"> * Swing Components Supporting <code>Action</code></a> for more * details, and you can find more information in <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How * to Use Actions</a>, a section in <em>The Java Tutorial</em>. * <p> * For information and examples of using menus see - * <a href="http://java.sun.com/doc/books/tutorial/uiswing/components/menu.html">How to Use Menus</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JMenuBar.java b/src/share/classes/javax/swing/JMenuBar.java index 22dbe6274f..8c7b2a8434 100644 --- a/src/share/classes/javax/swing/JMenuBar.java +++ b/src/share/classes/javax/swing/JMenuBar.java @@ -54,7 +54,7 @@ import javax.accessibility.*; * <p> * For information and examples of using menu bars see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html">How to Use Menus</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JMenuItem.java b/src/share/classes/javax/swing/JMenuItem.java index e13dc8b5b9..1f1a14a92e 100644 --- a/src/share/classes/javax/swing/JMenuItem.java +++ b/src/share/classes/javax/swing/JMenuItem.java @@ -54,12 +54,12 @@ import javax.accessibility.*; * configuring a menu item. Refer to <a href="Action.html#buttonActions"> * Swing Components Supporting <code>Action</code></a> for more * details, and you can find more information in <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How * to Use Actions</a>, a section in <em>The Java Tutorial</em>. * <p> * For further documentation and for examples, see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html">How to Use Menus</a> + href="http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a> * in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JOptionPane.java b/src/share/classes/javax/swing/JOptionPane.java index 23ed02f6bb..0cd52101a8 100644 --- a/src/share/classes/javax/swing/JOptionPane.java +++ b/src/share/classes/javax/swing/JOptionPane.java @@ -62,7 +62,7 @@ import static javax.swing.ClientPropertyKey.PopupFactory_FORCE_HEAVYWEIGHT_POPUP * prompts users for a value or informs them of something. * For information about using <code>JOptionPane</code>, see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html">How to Make Dialogs</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html">How to Make Dialogs</a>, * a section in <em>The Java Tutorial</em>. * * <p> diff --git a/src/share/classes/javax/swing/JPanel.java b/src/share/classes/javax/swing/JPanel.java index 7287a53ba2..2ac9c700e4 100644 --- a/src/share/classes/javax/swing/JPanel.java +++ b/src/share/classes/javax/swing/JPanel.java @@ -39,7 +39,7 @@ import java.io.IOException; * <code>JPanel</code> is a generic lightweight container. * For examples and task-oriented documentation for JPanel, see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/panel.html">How to Use Panels</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/panel.html">How to Use Panels</a>, * a section in <em>The Java Tutorial</em>. * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JPasswordField.java b/src/share/classes/javax/swing/JPasswordField.java index 1da370921d..71dc3aa75d 100644 --- a/src/share/classes/javax/swing/JPasswordField.java +++ b/src/share/classes/javax/swing/JPasswordField.java @@ -39,7 +39,7 @@ import java.util.Arrays; * the editing of a single line of text where the view indicates * something was typed, but does not show the original characters. * You can find further information and examples in - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/textfield.html">How to Use Text Fields</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/textfield.html">How to Use Text Fields</a>, * a section in <em>The Java Tutorial.</em> * <p> * <code>JPasswordField</code> is intended diff --git a/src/share/classes/javax/swing/JPopupMenu.java b/src/share/classes/javax/swing/JPopupMenu.java index 03532d12fd..992878fa6c 100644 --- a/src/share/classes/javax/swing/JPopupMenu.java +++ b/src/share/classes/javax/swing/JPopupMenu.java @@ -58,7 +58,7 @@ import java.applet.Applet; * <p> * For information and examples of using popup menus, see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html">How to Use Menus</a> + href="http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a> * in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JProgressBar.java b/src/share/classes/javax/swing/JProgressBar.java index 2be3a57c39..f21ad0ffe5 100644 --- a/src/share/classes/javax/swing/JProgressBar.java +++ b/src/share/classes/javax/swing/JProgressBar.java @@ -100,7 +100,7 @@ import javax.swing.plaf.ProgressBarUI; * <p> * * For complete examples and further documentation see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html" target="_top">How to Monitor Progress</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/progress.html" target="_top">How to Monitor Progress</a>, * a section in <em>The Java Tutorial.</em> * * <p> @@ -910,7 +910,7 @@ public class JProgressBar extends JComponent implements SwingConstants, Accessib * <p> * * See - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html" target="_top">How to Monitor Progress</a> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/progress.html" target="_top">How to Monitor Progress</a> * for examples of using indeterminate progress bars. * * @param newValue <code>true</code> if the progress bar diff --git a/src/share/classes/javax/swing/JRadioButton.java b/src/share/classes/javax/swing/JRadioButton.java index 5d594ceac6..d752a8ac0f 100644 --- a/src/share/classes/javax/swing/JRadioButton.java +++ b/src/share/classes/javax/swing/JRadioButton.java @@ -57,10 +57,10 @@ import java.io.IOException; * configuring a button. Refer to <a href="Action.html#buttonActions"> * Swing Components Supporting <code>Action</code></a> for more * details, and you can find more information in <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How * to Use Actions</a>, a section in <em>The Java Tutorial</em>. * <p> - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a> * in <em>The Java Tutorial</em> * for further documentation. * <p> diff --git a/src/share/classes/javax/swing/JRadioButtonMenuItem.java b/src/share/classes/javax/swing/JRadioButtonMenuItem.java index 1c4dd4c81f..b8c525a655 100644 --- a/src/share/classes/javax/swing/JRadioButtonMenuItem.java +++ b/src/share/classes/javax/swing/JRadioButtonMenuItem.java @@ -53,12 +53,12 @@ import javax.accessibility.*; * configuring a menu item. Refer to <a href="Action.html#buttonActions"> * Swing Components Supporting <code>Action</code></a> for more * details, and you can find more information in <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How * to Use Actions</a>, a section in <em>The Java Tutorial</em>. * <p> * For further documentation and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html">How to Use Menus</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JRootPane.java b/src/share/classes/javax/swing/JRootPane.java index 1f41ccbfd8..d12af45890 100644 --- a/src/share/classes/javax/swing/JRootPane.java +++ b/src/share/classes/javax/swing/JRootPane.java @@ -43,7 +43,7 @@ import sun.security.action.GetBooleanAction; * <code>JFrame</code>, <code>JDialog</code>, <code>JWindow</code>, * <code>JApplet</code>, and <code>JInternalFrame</code>. * For task-oriented information on functionality provided by root panes - * see <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/rootpane.html">How to Use Root Panes</a>, + * see <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/rootpane.html">How to Use Root Panes</a>, * a section in <em>The Java Tutorial</em>. * * <p> diff --git a/src/share/classes/javax/swing/JScrollPane.java b/src/share/classes/javax/swing/JScrollPane.java index 7d30b7dffc..f76a1fe648 100644 --- a/src/share/classes/javax/swing/JScrollPane.java +++ b/src/share/classes/javax/swing/JScrollPane.java @@ -50,7 +50,7 @@ import java.beans.Transient; * vertical and horizontal scroll bars, and optional row and * column heading viewports. * You can find task-oriented documentation of <code>JScrollPane</code> in - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html">How to Use Scroll Panes</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/scrollpane.html">How to Use Scroll Panes</a>, * a section in <em>The Java Tutorial</em>. Note that * <code>JScrollPane</code> does not support heavyweight components. * <p> diff --git a/src/share/classes/javax/swing/JSeparator.java b/src/share/classes/javax/swing/JSeparator.java index 8c5e14f613..1d994fb6d5 100644 --- a/src/share/classes/javax/swing/JSeparator.java +++ b/src/share/classes/javax/swing/JSeparator.java @@ -47,7 +47,7 @@ import java.io.IOException; * * For more information and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html">How to Use Menus</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JSlider.java b/src/share/classes/javax/swing/JSlider.java index 7a948d91b5..eb15c69c3d 100644 --- a/src/share/classes/javax/swing/JSlider.java +++ b/src/share/classes/javax/swing/JSlider.java @@ -55,7 +55,7 @@ import java.beans.*; * <p> * For further information and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/slider.html">How to Use Sliders</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/slider.html">How to Use Sliders</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JSpinner.java b/src/share/classes/javax/swing/JSpinner.java index d60f67cfd5..d0fb75a395 100644 --- a/src/share/classes/javax/swing/JSpinner.java +++ b/src/share/classes/javax/swing/JSpinner.java @@ -93,7 +93,7 @@ import sun.util.locale.provider.LocaleServiceProviderPool; * </pre> * <p> * For information and examples of using spinner see - * <a href="http://java.sun.com/doc/books/tutorial/uiswing/components/spinner.html">How to Use Spinners</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/spinner.html">How to Use Spinners</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JSplitPane.java b/src/share/classes/javax/swing/JSplitPane.java index 622c70f270..f2b533766c 100644 --- a/src/share/classes/javax/swing/JSplitPane.java +++ b/src/share/classes/javax/swing/JSplitPane.java @@ -49,7 +49,7 @@ import java.io.IOException; * interactively resized by the user. * Information on using <code>JSplitPane</code> is in * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/splitpane.html">How to Use Split Panes</a> in + href="http://docs.oracle.com/javase/tutorial/uiswing/components/splitpane.html">How to Use Split Panes</a> in * <em>The Java Tutorial</em>. * <p> * The two <code>Component</code>s in a split pane can be aligned diff --git a/src/share/classes/javax/swing/JTabbedPane.java b/src/share/classes/javax/swing/JTabbedPane.java index f36615a74a..603ea31c01 100644 --- a/src/share/classes/javax/swing/JTabbedPane.java +++ b/src/share/classes/javax/swing/JTabbedPane.java @@ -43,7 +43,7 @@ import java.io.IOException; * A component that lets the user switch between a group of components by * clicking on a tab with a given title and/or icon. * For examples and information on using tabbed panes see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/tabbedpane.html">How to Use Tabbed Panes</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/tabbedpane.html">How to Use Tabbed Panes</a>, * a section in <em>The Java Tutorial</em>. * <p> * Tabs/components are added to a <code>TabbedPane</code> object by using the diff --git a/src/share/classes/javax/swing/JTable.java b/src/share/classes/javax/swing/JTable.java index cf477533c2..c7bf52f4f2 100644 --- a/src/share/classes/javax/swing/JTable.java +++ b/src/share/classes/javax/swing/JTable.java @@ -62,7 +62,7 @@ import sun.swing.SwingLazyValue; /** * The <code>JTable</code> is used to display and edit regular two-dimensional tables * of cells. - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/table.html">How to Use Tables</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/table.html">How to Use Tables</a> * in <em>The Java Tutorial</em> * for task-oriented documentation and examples of using <code>JTable</code>. * @@ -2489,7 +2489,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable * The default value of this property is defined by the look * and feel implementation. * <p> - * This is a <a href="http://java.sun.com/docs/books/tutorial/javabeans/properties/bound.html">JavaBeans</a> bound property. + * This is a <a href="http://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html">JavaBeans</a> bound property. * * @param selectionForeground the <code>Color</code> to use in the foreground * for selected list items @@ -2527,7 +2527,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable * The default value of this property is defined by the look * and feel implementation. * <p> - * This is a <a href="http://java.sun.com/docs/books/tutorial/javabeans/properties/bound.html">JavaBeans</a> bound property. + * This is a <a href="http://docs.oracle.com/javase/tutorial/javabeans/writing/properties.html">JavaBeans</a> bound property. * * @param selectionBackground the <code>Color</code> to use for the background * of selected cells diff --git a/src/share/classes/javax/swing/JTextArea.java b/src/share/classes/javax/swing/JTextArea.java index 0af83fa9b8..5e4c4baebf 100644 --- a/src/share/classes/javax/swing/JTextArea.java +++ b/src/share/classes/javax/swing/JTextArea.java @@ -44,7 +44,7 @@ import java.io.IOException; * compatibility with the <code>java.awt.TextArea</code> class where it can * reasonably do so. * You can find information and examples of using all the text components in - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/text.html">Using Text Components</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/text.html">Using Text Components</a>, * a section in <em>The Java Tutorial.</em> * * <p> diff --git a/src/share/classes/javax/swing/JTextField.java b/src/share/classes/javax/swing/JTextField.java index 2fd75f0832..a5744ee0b9 100644 --- a/src/share/classes/javax/swing/JTextField.java +++ b/src/share/classes/javax/swing/JTextField.java @@ -44,7 +44,7 @@ import java.io.Serializable; * of a single line of text. * For information on and examples of using text fields, * see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/textfield.html">How to Use Text Fields</a> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/textfield.html">How to Use Text Fields</a> * in <em>The Java Tutorial.</em> * * <p> diff --git a/src/share/classes/javax/swing/JTextPane.java b/src/share/classes/javax/swing/JTextPane.java index b129bd8e37..82512dfd04 100644 --- a/src/share/classes/javax/swing/JTextPane.java +++ b/src/share/classes/javax/swing/JTextPane.java @@ -39,7 +39,7 @@ import javax.swing.plaf.*; * A text component that can be marked up with attributes that are * represented graphically. * You can find how-to information and examples of using text panes in - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/text.html">Using Text Components</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/text.html">Using Text Components</a>, * a section in <em>The Java Tutorial.</em> * * <p> diff --git a/src/share/classes/javax/swing/JToggleButton.java b/src/share/classes/javax/swing/JToggleButton.java index bda38db5e8..6aa7fe00ff 100644 --- a/src/share/classes/javax/swing/JToggleButton.java +++ b/src/share/classes/javax/swing/JToggleButton.java @@ -42,7 +42,7 @@ import java.io.IOException; * are subclasses of this class. * For information on using them see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a>, * a section in <em>The Java Tutorial</em>. * <p> * Buttons can be configured, and to some degree controlled, by @@ -51,7 +51,7 @@ import java.io.IOException; * configuring a button. Refer to <a href="Action.html#buttonActions"> * Swing Components Supporting <code>Action</code></a> for more * details, and you can find more information in <a - * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How + * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How * to Use Actions</a>, a section in <em>The Java Tutorial</em>. * <p> * <strong>Warning:</strong> Swing is not thread safe. For more diff --git a/src/share/classes/javax/swing/JToolBar.java b/src/share/classes/javax/swing/JToolBar.java index b1a8c87c60..b19ae272d4 100644 --- a/src/share/classes/javax/swing/JToolBar.java +++ b/src/share/classes/javax/swing/JToolBar.java @@ -52,7 +52,7 @@ import java.util.Hashtable; * <code>JToolBar</code> provides a component that is useful for * displaying commonly used <code>Action</code>s or controls. * For examples and information on using tool bars see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/toolbar.html">How to Use Tool Bars</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/toolbar.html">How to Use Tool Bars</a>, * a section in <em>The Java Tutorial</em>. * * <p> diff --git a/src/share/classes/javax/swing/JToolTip.java b/src/share/classes/javax/swing/JToolTip.java index 77b29eaed2..5373a57de5 100644 --- a/src/share/classes/javax/swing/JToolTip.java +++ b/src/share/classes/javax/swing/JToolTip.java @@ -44,7 +44,7 @@ import java.util.Objects; * display can override <code>JComponent</code>'s <code>createToolTip</code> * method and use a subclass of this class. * <p> - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/tooltip.html">How to Use Tool Tips</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/tooltip.html">How to Use Tool Tips</a> * in <em>The Java Tutorial</em> * for further documentation. * <p> diff --git a/src/share/classes/javax/swing/JTree.java b/src/share/classes/javax/swing/JTree.java index 56aaca10d8..25e201279d 100644 --- a/src/share/classes/javax/swing/JTree.java +++ b/src/share/classes/javax/swing/JTree.java @@ -44,7 +44,7 @@ import static sun.swing.SwingUtilities2.Section.*; * <a name="jtree_description"></a> * A control that displays a set of hierarchical data as an outline. * You can find task-oriented documentation and examples of using trees in - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Trees</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html">How to Use Trees</a>, * a section in <em>The Java Tutorial.</em> * <p> * A specific node in a tree can be identified either by a diff --git a/src/share/classes/javax/swing/JWindow.java b/src/share/classes/javax/swing/JWindow.java index f5d7b08a4b..e211b8d5ca 100644 --- a/src/share/classes/javax/swing/JWindow.java +++ b/src/share/classes/javax/swing/JWindow.java @@ -314,7 +314,7 @@ public class JWindow extends Window implements Accessible, * are currently typed to {@code JComponent}. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html"> * How to Use Drag and Drop and Data Transfer</a>, a section in * <em>The Java Tutorial</em>, for more information. * diff --git a/src/share/classes/javax/swing/ProgressMonitor.java b/src/share/classes/javax/swing/ProgressMonitor.java index ebfa738901..72f5f57cbb 100644 --- a/src/share/classes/javax/swing/ProgressMonitor.java +++ b/src/share/classes/javax/swing/ProgressMonitor.java @@ -71,7 +71,7 @@ import javax.swing.text.*; * * For further documentation and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html">How to Monitor Progress</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/progress.html">How to Monitor Progress</a>, * a section in <em>The Java Tutorial.</em> * * @see ProgressMonitorInputStream diff --git a/src/share/classes/javax/swing/ProgressMonitorInputStream.java b/src/share/classes/javax/swing/ProgressMonitorInputStream.java index 38f653b94a..43213c7629 100644 --- a/src/share/classes/javax/swing/ProgressMonitorInputStream.java +++ b/src/share/classes/javax/swing/ProgressMonitorInputStream.java @@ -54,7 +54,7 @@ import java.awt.Component; * <p> * * For further documentation and examples see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html">How to Monitor Progress</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/progress.html">How to Monitor Progress</a>, * a section in <em>The Java Tutorial.</em> * * @see ProgressMonitor diff --git a/src/share/classes/javax/swing/Spring.java b/src/share/classes/javax/swing/Spring.java index 8da77ff8d4..6d49eb40ca 100644 --- a/src/share/classes/javax/swing/Spring.java +++ b/src/share/classes/javax/swing/Spring.java @@ -109,7 +109,7 @@ import java.awt.Component; * If you are implementing a <code>SpringLayout</code> you * can find further information and examples in * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html">How to Use SpringLayout</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/layout/spring.html">How to Use SpringLayout</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> diff --git a/src/share/classes/javax/swing/SpringLayout.java b/src/share/classes/javax/swing/SpringLayout.java index 72de45661a..f3ca54d15c 100644 --- a/src/share/classes/javax/swing/SpringLayout.java +++ b/src/share/classes/javax/swing/SpringLayout.java @@ -36,7 +36,7 @@ import java.util.*; /** * A <code>SpringLayout</code> lays out the children of its associated container * according to a set of constraints. - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html">How to Use SpringLayout</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/layout/spring.html">How to Use SpringLayout</a> * in <em>The Java Tutorial</em> for examples of using * <code>SpringLayout</code>. * diff --git a/src/share/classes/javax/swing/SwingUtilities.java b/src/share/classes/javax/swing/SwingUtilities.java index 6bb308d2f1..28d1f198cd 100644 --- a/src/share/classes/javax/swing/SwingUtilities.java +++ b/src/share/classes/javax/swing/SwingUtilities.java @@ -1280,7 +1280,7 @@ public class SwingUtilities implements SwingConstants * <p> * Additional documentation and examples for this method can be * found in - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>. + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>. * <p> * As of 1.3 this method is just a cover for <code>java.awt.EventQueue.invokeLater()</code>. * <p> @@ -1331,7 +1331,7 @@ public class SwingUtilities implements SwingConstants * <p> * Additional documentation and examples for this method can be * found in - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>. + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency in Swing</a>. * <p> * As of 1.3 this method is just a cover for * <code>java.awt.EventQueue.invokeAndWait()</code>. diff --git a/src/share/classes/javax/swing/SwingWorker.java b/src/share/classes/javax/swing/SwingWorker.java index f7b343d8e4..5775bcb4ea 100644 --- a/src/share/classes/javax/swing/SwingWorker.java +++ b/src/share/classes/javax/swing/SwingWorker.java @@ -50,7 +50,7 @@ import sun.swing.AccumulativeRunnable; * When writing a multi-threaded application using Swing, there are * two constraints to keep in mind: * (refer to - * <a href="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> * Concurrency in Swing * </a> for more details): * <ul> diff --git a/src/share/classes/javax/swing/Timer.java b/src/share/classes/javax/swing/Timer.java index e938a9d5b1..d52e3bacdb 100644 --- a/src/share/classes/javax/swing/Timer.java +++ b/src/share/classes/javax/swing/Timer.java @@ -121,7 +121,7 @@ import javax.swing.event.EventListenerList; * <p> * You can find further documentation * and several examples of using timers by visiting - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html" + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/timer.html" * target = "_top">How to Use Timers</a>, * a section in <em>The Java Tutorial.</em> * For more examples and help in choosing between diff --git a/src/share/classes/javax/swing/TransferHandler.java b/src/share/classes/javax/swing/TransferHandler.java index b169a8edcc..016dd987be 100644 --- a/src/share/classes/javax/swing/TransferHandler.java +++ b/src/share/classes/javax/swing/TransferHandler.java @@ -75,7 +75,7 @@ import sun.awt.AWTAccessor; * of the transfer, and <code>setForeground</code> for the target of a transfer. * <p> * Please see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html"> + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html"> * How to Use Drag and Drop and Data Transfer</a>, * a section in <em>The Java Tutorial</em>, for more information. * diff --git a/src/share/classes/javax/swing/WindowConstants.java b/src/share/classes/javax/swing/WindowConstants.java index c82fc41634..05237583f4 100644 --- a/src/share/classes/javax/swing/WindowConstants.java +++ b/src/share/classes/javax/swing/WindowConstants.java @@ -36,7 +36,7 @@ package javax.swing; * use these constants. * For examples of setting the default window-closing operation, see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/frame.html#windowevents">Responding to Window-Closing Events</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/frame.html#windowevents">Responding to Window-Closing Events</a>, * a section in <em>The Java Tutorial</em>. * @see JFrame#setDefaultCloseOperation(int) * @see JDialog#setDefaultCloseOperation(int) diff --git a/src/share/classes/javax/swing/border/Border.java b/src/share/classes/javax/swing/border/Border.java index ea73b4a56c..2e1d6c74ea 100644 --- a/src/share/classes/javax/swing/border/Border.java +++ b/src/share/classes/javax/swing/border/Border.java @@ -33,7 +33,7 @@ import java.awt.Component; * Interface describing an object capable of rendering a border * around the edges of a swing component. * For examples of using borders see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/misc/border.html">How to Use Borders</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/border.htmll">How to Use Borders</a>, * a section in <em>The Java Tutorial.</em> * <p> * In the Swing component set, borders supercede Insets as the diff --git a/src/share/classes/javax/swing/event/InternalFrameAdapter.java b/src/share/classes/javax/swing/event/InternalFrameAdapter.java index 986d4c2aab..6ab90470e1 100644 --- a/src/share/classes/javax/swing/event/InternalFrameAdapter.java +++ b/src/share/classes/javax/swing/event/InternalFrameAdapter.java @@ -31,7 +31,7 @@ package javax.swing.event; * convenience for creating listener objects, and is functionally * equivalent to the WindowAdapter class in the AWT. * <p> - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/internalframelistener.html">How to Write an Internal Frame Listener</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/internalframelistener.html">How to Write an Internal Frame Listener</a> * in <em>The Java Tutorial</em> * * @see InternalFrameEvent diff --git a/src/share/classes/javax/swing/event/InternalFrameEvent.java b/src/share/classes/javax/swing/event/InternalFrameEvent.java index 9c2341d732..5f825bea5e 100644 --- a/src/share/classes/javax/swing/event/InternalFrameEvent.java +++ b/src/share/classes/javax/swing/event/InternalFrameEvent.java @@ -34,7 +34,7 @@ import javax.swing.JInternalFrame; * although different IDs are used. * Help on handling internal frame events * is in - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/internalframelistener.html" target="_top">How to Write an Internal Frame Listener</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/internalframelistener.html" target="_top">How to Write an Internal Frame Listener</a>, * a section in <em>The Java Tutorial</em>. * <p> * <strong>Warning:</strong> diff --git a/src/share/classes/javax/swing/event/InternalFrameListener.java b/src/share/classes/javax/swing/event/InternalFrameListener.java index 823cad7fa7..bf04ee219f 100644 --- a/src/share/classes/javax/swing/event/InternalFrameListener.java +++ b/src/share/classes/javax/swing/event/InternalFrameListener.java @@ -32,7 +32,7 @@ import java.util.EventListener; * This class is functionally equivalent to the WindowListener class * in the AWT. * <p> - * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/internalframelistener.html">How to Write an Internal Frame Listener</a> + * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/internalframelistener.html">How to Write an Internal Frame Listener</a> * in <em>The Java Tutorial</em> for further documentation. * * @see java.awt.event.WindowListener diff --git a/src/share/classes/javax/swing/event/TreeExpansionEvent.java b/src/share/classes/javax/swing/event/TreeExpansionEvent.java index 62b85d6f51..d7dff7b087 100644 --- a/src/share/classes/javax/swing/event/TreeExpansionEvent.java +++ b/src/share/classes/javax/swing/event/TreeExpansionEvent.java @@ -34,8 +34,8 @@ import javax.swing.tree.TreePath; * <p> * For further documentation and examples see * the following sections in <em>The Java Tutorial</em>: - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/treeexpansionlistener.html">How to Write a Tree Expansion Listener</a> and - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/treewillexpandlistener.html">How to Write a Tree-Will-Expand Listener</a>. + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/treeexpansionlistener.html">How to Write a Tree Expansion Listener</a> and + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/treewillexpandlistener.html">How to Write a Tree-Will-Expand Listener</a>. * <p> * <strong>Warning:</strong> * Serialized objects of this class will not be compatible with diff --git a/src/share/classes/javax/swing/event/TreeExpansionListener.java b/src/share/classes/javax/swing/event/TreeExpansionListener.java index 977fda173a..7a2867bf51 100644 --- a/src/share/classes/javax/swing/event/TreeExpansionListener.java +++ b/src/share/classes/javax/swing/event/TreeExpansionListener.java @@ -32,7 +32,7 @@ import java.util.EventListener; * a node. * For further documentation and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/events/treeexpansionlistener.html">How to Write a Tree Expansion Listener</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/events/treeexpansionlistener.html">How to Write a Tree Expansion Listener</a>, * a section in <em>The Java Tutorial.</em> * * @author Scott Violet diff --git a/src/share/classes/javax/swing/event/TreeModelEvent.java b/src/share/classes/javax/swing/event/TreeModelEvent.java index 6c6d7cef4c..0fc036fce6 100644 --- a/src/share/classes/javax/swing/event/TreeModelEvent.java +++ b/src/share/classes/javax/swing/event/TreeModelEvent.java @@ -34,7 +34,7 @@ import javax.swing.tree.TreePath; * used to notify tree model listeners of the change. * For more information and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/events/treemodellistener.html">How to Write a Tree Model Listener</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/events/treemodellistener.html">How to Write a Tree Model Listener</a>, * a section in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> diff --git a/src/share/classes/javax/swing/event/TreeModelListener.java b/src/share/classes/javax/swing/event/TreeModelListener.java index 309c9b7d8a..b48fdfb254 100644 --- a/src/share/classes/javax/swing/event/TreeModelListener.java +++ b/src/share/classes/javax/swing/event/TreeModelListener.java @@ -32,7 +32,7 @@ import java.util.EventListener; * to changes in a TreeModel. * For further information and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/events/treemodellistener.html">How to Write a Tree Model Listener</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/events/treemodellistener.html">How to Write a Tree Model Listener</a>, * a section in <em>The Java Tutorial.</em> * * @author Rob Davis diff --git a/src/share/classes/javax/swing/event/TreeSelectionListener.java b/src/share/classes/javax/swing/event/TreeSelectionListener.java index 7e2d0e84fa..6a344e3514 100644 --- a/src/share/classes/javax/swing/event/TreeSelectionListener.java +++ b/src/share/classes/javax/swing/event/TreeSelectionListener.java @@ -32,7 +32,7 @@ import java.util.EventListener; * changes. * For more information and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/events/treeselectionlistener.html">How to Write a Tree Selection Listener</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/events/treeselectionlistener.html">How to Write a Tree Selection Listener</a>, * a section in <em>The Java Tutorial.</em> * * @see javax.swing.tree.TreeSelectionModel diff --git a/src/share/classes/javax/swing/event/TreeWillExpandListener.java b/src/share/classes/javax/swing/event/TreeWillExpandListener.java index c78ce6979d..3afb1f1e58 100644 --- a/src/share/classes/javax/swing/event/TreeWillExpandListener.java +++ b/src/share/classes/javax/swing/event/TreeWillExpandListener.java @@ -32,7 +32,7 @@ import javax.swing.tree.ExpandVetoException; * The listener that's notified when a tree expands or collapses * a node. * For further information and examples see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/treewillexpandlistener.html">How to Write a Tree-Will-Expand Listener</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/events/treewillexpandlistener.html">How to Write a Tree-Will-Expand Listener</a>, * a section in <em>The Java Tutorial.</em> * * @author Scott Violet diff --git a/src/share/classes/javax/swing/filechooser/FileFilter.java b/src/share/classes/javax/swing/filechooser/FileFilter.java index 50584c351f..8cc1586bac 100644 --- a/src/share/classes/javax/swing/filechooser/FileFilter.java +++ b/src/share/classes/javax/swing/filechooser/FileFilter.java @@ -39,7 +39,7 @@ import java.io.File; * For an example implementation of a simple file filter, see * <code><i>yourJDK</i>/demo/jfc/FileChooserDemo/ExampleFileFilter.java</code>. * For more information and examples see - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html">How to Use File Choosers</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/filechooser.html">How to Use File Choosers</a>, * a section in <em>The Java Tutorial</em>. * * @see FileNameExtensionFilter diff --git a/src/share/classes/javax/swing/filechooser/FileView.java b/src/share/classes/javax/swing/filechooser/FileView.java index 7e208b09c9..30dffc1cbe 100644 --- a/src/share/classes/javax/swing/filechooser/FileView.java +++ b/src/share/classes/javax/swing/filechooser/FileView.java @@ -57,7 +57,7 @@ import javax.swing.*; * <code><i>yourJDK</i>/demo/jfc/FileChooserDemo/ExampleFileView.java</code>. * For more information and examples see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html">How to Use File Choosers</a>, + href="http://docs.oracle.com/javase/tutorial/uiswing/components/filechooser.html">How to Use File Choosers</a>, * a section in <em>The Java Tutorial</em>. * * @see javax.swing.JFileChooser diff --git a/src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java b/src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java index eec4800116..37764cce50 100644 --- a/src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java +++ b/src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java @@ -54,8 +54,7 @@ import sun.swing.UIAction; * <p> * For adding specific actions, * overide <code>installKeyboardActions</code> to add actions in response to - * KeyStroke bindings. See the article <a href="http://java.sun.com/products/jfc/tsc/special_report/kestrel/keybindings.html">Keyboard Bindings in Swing</a> - * at <a href="http://java.sun.com/products/jfc/tsc"><em>The Swing Connection</em></a>. + * KeyStroke bindings. See the article <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/keybinding.html">How to Use Key Bindings</a> * * @author Arnaud Weber * @author Tom Santos diff --git a/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java b/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java index b6208df57c..8df43e2fa6 100644 --- a/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java +++ b/src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java @@ -2361,7 +2361,7 @@ public class MetalLookAndFeel extends BasicLookAndFeel } // From the JLF Design Guidelines: - // http://java.sun.com/products/jlf/ed2/book/HIG.Visual2.html + // http://www.oracle.com/technetwork/java/jlf-135985.html private static class MetalLayoutStyle extends DefaultLayoutStyle { private static MetalLayoutStyle INSTANCE = new MetalLayoutStyle(); diff --git a/src/share/classes/javax/swing/table/TableModel.java b/src/share/classes/javax/swing/table/TableModel.java index 43544ee4c7..2c4794bc98 100644 --- a/src/share/classes/javax/swing/table/TableModel.java +++ b/src/share/classes/javax/swing/table/TableModel.java @@ -40,7 +40,7 @@ import javax.swing.event.*; * JTable table = new JTable(myData); * </pre><p> * - * For further documentation, see <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#data">Creating a Table Model</a> + * For further documentation, see <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/table.html#data">Creating a Table Model</a> * in <em>The Java Tutorial</em>. * <p> * @author Philip Milne diff --git a/src/share/classes/javax/swing/text/AbstractDocument.java b/src/share/classes/javax/swing/text/AbstractDocument.java index a4dad8eed3..7d98b7ad95 100644 --- a/src/share/classes/javax/swing/text/AbstractDocument.java +++ b/src/share/classes/javax/swing/text/AbstractDocument.java @@ -408,7 +408,7 @@ public abstract class AbstractDocument implements Document, Serializable { * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param r the renderer to execute @@ -569,7 +569,7 @@ public abstract class AbstractDocument implements Document, Serializable { * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param offs the starting offset >= 0 @@ -682,7 +682,7 @@ public abstract class AbstractDocument implements Document, Serializable { * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param offs the starting offset >= 0 @@ -837,7 +837,7 @@ public abstract class AbstractDocument implements Document, Serializable { * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param offs the position in the model >= 0 diff --git a/src/share/classes/javax/swing/text/DefaultCaret.java b/src/share/classes/javax/swing/text/DefaultCaret.java index 0d2031cff1..0ba5eddda3 100644 --- a/src/share/classes/javax/swing/text/DefaultCaret.java +++ b/src/share/classes/javax/swing/text/DefaultCaret.java @@ -237,7 +237,7 @@ public class DefaultCaret extends Rectangle implements Caret, FocusListener, Mou * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. */ protected final synchronized void repaint() { diff --git a/src/share/classes/javax/swing/text/DefaultStyledDocument.java b/src/share/classes/javax/swing/text/DefaultStyledDocument.java index 4a6419e77d..cfa9a578fb 100644 --- a/src/share/classes/javax/swing/text/DefaultStyledDocument.java +++ b/src/share/classes/javax/swing/text/DefaultStyledDocument.java @@ -173,7 +173,7 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param offset the starting offset >= 0 @@ -426,7 +426,7 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param pos the offset from the start of the document >= 0 @@ -483,7 +483,7 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param offset the offset in the document >= 0 @@ -536,7 +536,7 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param offset the offset into the paragraph >= 0 diff --git a/src/share/classes/javax/swing/text/JTextComponent.java b/src/share/classes/javax/swing/text/JTextComponent.java index c88b116561..2f3ab8114f 100644 --- a/src/share/classes/javax/swing/text/JTextComponent.java +++ b/src/share/classes/javax/swing/text/JTextComponent.java @@ -84,7 +84,7 @@ import sun.swing.SwingAccessor; * support). * You can find information on how to use the functionality * this class provides in - * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html">General Rules for Using Text Components</a>, + * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/generaltext.html">General Rules for Using Text Components</a>, * a section in <em>The Java Tutorial.</em> * * <p> @@ -2215,7 +2215,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A * <p> * This method is thread-safe, although most Swing methods are not. Please * see <A - * HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> + * HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> * Concurrency in Swing</A> for more information. * * <p> @@ -2473,7 +2473,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A * <p> * This method is thread-safe, although most Swing methods are not. Please * see <A - * HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> + * HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> * Concurrency in Swing</A> for more information. * * <p> diff --git a/src/share/classes/javax/swing/text/PlainDocument.java b/src/share/classes/javax/swing/text/PlainDocument.java index 8424faf092..783a5d68ea 100644 --- a/src/share/classes/javax/swing/text/PlainDocument.java +++ b/src/share/classes/javax/swing/text/PlainDocument.java @@ -100,7 +100,7 @@ public class PlainDocument extends AbstractDocument { * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param offs the starting offset >= 0 diff --git a/src/share/classes/javax/swing/text/StyleContext.java b/src/share/classes/javax/swing/text/StyleContext.java index ac11b1f82f..6aa1952db8 100644 --- a/src/share/classes/javax/swing/text/StyleContext.java +++ b/src/share/classes/javax/swing/text/StyleContext.java @@ -292,7 +292,7 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param old the old attribute set @@ -321,7 +321,7 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param old the old attribute set @@ -349,7 +349,7 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param old the old set of attributes @@ -377,7 +377,7 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param old the old attribute set @@ -405,7 +405,7 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param old the old attribute set @@ -445,7 +445,7 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param a the set to reclaim diff --git a/src/share/classes/javax/swing/text/html/HTMLDocument.java b/src/share/classes/javax/swing/text/html/HTMLDocument.java index 7f11b29993..abbee8037f 100644 --- a/src/share/classes/javax/swing/text/html/HTMLDocument.java +++ b/src/share/classes/javax/swing/text/html/HTMLDocument.java @@ -475,7 +475,7 @@ public class HTMLDocument extends DefaultStyledDocument { * <p> * This method is thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @param offset the offset into the paragraph (must be at least 0) diff --git a/src/share/classes/javax/swing/tree/DefaultMutableTreeNode.java b/src/share/classes/javax/swing/tree/DefaultMutableTreeNode.java index e5b01a4fc5..874515e6c0 100644 --- a/src/share/classes/javax/swing/tree/DefaultMutableTreeNode.java +++ b/src/share/classes/javax/swing/tree/DefaultMutableTreeNode.java @@ -35,7 +35,7 @@ import java.util.*; * structure. * For examples of using default mutable tree nodes, see * <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Trees</a> + href="http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html">How to Use Trees</a> * in <em>The Java Tutorial.</em> * * <p> diff --git a/src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java b/src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java index d4b5826084..213bf06f56 100644 --- a/src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java +++ b/src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java @@ -49,7 +49,7 @@ import sun.swing.DefaultLookup; * <code>DefaultTreeCellRenderer</code> is not opaque and * unless you subclass paint you should not change this. * See <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Trees</a> + href="http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html">How to Use Trees</a> * in <em>The Java Tutorial</em> * for examples of customizing node display using this class. * <p> diff --git a/src/share/classes/javax/swing/tree/DefaultTreeModel.java b/src/share/classes/javax/swing/tree/DefaultTreeModel.java index 794f11baaa..034d925609 100644 --- a/src/share/classes/javax/swing/tree/DefaultTreeModel.java +++ b/src/share/classes/javax/swing/tree/DefaultTreeModel.java @@ -33,7 +33,7 @@ import javax.swing.event.*; /** * A simple tree data model that uses TreeNodes. * For further information and examples that use DefaultTreeModel, - * see <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Trees</a> + * see <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html">How to Use Trees</a> * in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> diff --git a/src/share/classes/javax/swing/tree/ExpandVetoException.java b/src/share/classes/javax/swing/tree/ExpandVetoException.java index 3295b56e63..b13f50e8d8 100644 --- a/src/share/classes/javax/swing/tree/ExpandVetoException.java +++ b/src/share/classes/javax/swing/tree/ExpandVetoException.java @@ -30,7 +30,7 @@ import javax.swing.event.TreeExpansionEvent; /** * Exception used to stop and expand/collapse from happening. * See <a - href="http://java.sun.com/docs/books/tutorial/uiswing/events/treewillexpandlistener.html">How to Write a Tree-Will-Expand Listener</a> + href="http://docs.oracle.com/javase/tutorial/uiswing/events/treewillexpandlistener.html">How to Write a Tree-Will-Expand Listener</a> * in <em>The Java Tutorial</em> * for further information and examples. * diff --git a/src/share/classes/javax/swing/tree/TreeCellRenderer.java b/src/share/classes/javax/swing/tree/TreeCellRenderer.java index 8c352cb1fb..533e5e47db 100644 --- a/src/share/classes/javax/swing/tree/TreeCellRenderer.java +++ b/src/share/classes/javax/swing/tree/TreeCellRenderer.java @@ -30,7 +30,7 @@ import javax.swing.JTree; /** * Defines the requirements for an object that displays a tree node. * See <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Trees</a> + href="http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html">How to Use Trees</a> * in <em>The Java Tutorial</em> * for an example of implementing a tree cell renderer * that displays custom icons. diff --git a/src/share/classes/javax/swing/tree/TreeModel.java b/src/share/classes/javax/swing/tree/TreeModel.java index b5a998c55a..49f1d9f513 100644 --- a/src/share/classes/javax/swing/tree/TreeModel.java +++ b/src/share/classes/javax/swing/tree/TreeModel.java @@ -50,7 +50,7 @@ import javax.swing.event.*; * For further information on tree models, * including an example of a custom implementation, * see <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Trees</a> + href="http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html">How to Use Trees</a> * in <em>The Java Tutorial.</em> * * @see TreePath diff --git a/src/share/classes/javax/swing/tree/TreeNode.java b/src/share/classes/javax/swing/tree/TreeNode.java index 7db0f97147..5931cc635e 100644 --- a/src/share/classes/javax/swing/tree/TreeNode.java +++ b/src/share/classes/javax/swing/tree/TreeNode.java @@ -37,7 +37,7 @@ import java.util.Enumeration; * * For further information and examples of using tree nodes, * see <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Tree Nodes</a> + href="http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html">How to Use Tree Nodes</a> * in <em>The Java Tutorial.</em> * * @author Rob Davis diff --git a/src/share/classes/javax/swing/tree/TreePath.java b/src/share/classes/javax/swing/tree/TreePath.java index 33c42a7bb6..df7818d5bc 100644 --- a/src/share/classes/javax/swing/tree/TreePath.java +++ b/src/share/classes/javax/swing/tree/TreePath.java @@ -66,7 +66,7 @@ import java.beans.ConstructorProperties; * <p> * For further information and examples of using tree paths, * see <a - href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Trees</a> + href="http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html">How to Use Trees</a> * in <em>The Java Tutorial.</em> * <p> * <strong>Warning:</strong> diff --git a/src/share/classes/javax/swing/tree/TreeSelectionModel.java b/src/share/classes/javax/swing/tree/TreeSelectionModel.java index 4c491277e3..bc08aef658 100644 --- a/src/share/classes/javax/swing/tree/TreeSelectionModel.java +++ b/src/share/classes/javax/swing/tree/TreeSelectionModel.java @@ -32,7 +32,7 @@ import java.beans.PropertyChangeListener; * This interface represents the current state of the selection for * the tree component. * For information and examples of using tree selection models, - * see <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Trees</a> + * see <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html">How to Use Trees</a> * in <em>The Java Tutorial.</em> * * <p> diff --git a/src/share/classes/sun/swing/PrintingStatus.java b/src/share/classes/sun/swing/PrintingStatus.java index af3658bdde..d5b7aee900 100644 --- a/src/share/classes/sun/swing/PrintingStatus.java +++ b/src/share/classes/sun/swing/PrintingStatus.java @@ -43,7 +43,7 @@ import java.lang.reflect.InvocationTargetException; * <p/> * Methods of these class are thread safe, although most Swing methods * are not. Please see - * <A HREF="http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency + * <A HREF="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency * in Swing</A> for more information. * * @author Alexander Potochkin diff --git a/src/share/classes/sun/text/normalizer/UCharacter.java b/src/share/classes/sun/text/normalizer/UCharacter.java index 728b903aa8..015bd91303 100644 --- a/src/share/classes/sun/text/normalizer/UCharacter.java +++ b/src/share/classes/sun/text/normalizer/UCharacter.java @@ -42,7 +42,7 @@ import java.util.MissingResourceException; /** * <p> * The UCharacter class provides extensions to the - * <a href="http://java.sun.com/j2se/1.5/docs/api/java/lang/Character.html"> + * <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Character.html"> * java.lang.Character</a> class. These extensions provide support for * more Unicode properties and together with the <a href=../text/UTF16.html>UTF16</a> * class, provide support for supplementary characters (those with code diff --git a/src/share/demo/jfc/FileChooserDemo/FileChooserDemo.java b/src/share/demo/jfc/FileChooserDemo/FileChooserDemo.java index bfb74b4330..e492e09e03 100644 --- a/src/share/demo/jfc/FileChooserDemo/FileChooserDemo.java +++ b/src/share/demo/jfc/FileChooserDemo/FileChooserDemo.java @@ -800,7 +800,7 @@ public class FileChooserDemo extends JPanel implements ActionListener { * NOTE: By default, the look and feel will be set to the * Cross Platform Look and Feel (which is currently Metal). * The following code tries to set the Look and Feel to Nimbus. - * http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/nimbus.html + * http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/nimbus.html */ try { for (LookAndFeelInfo info : UIManager. |