Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
e896ac07
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e896ac07
编写于
8月 17, 2011
作者:
R
rupashka
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7075563: Broken link in "javax.swing.SwingWorker"
Reviewed-by: alexp
上级
4c70c891
变更
11
显示空白变更内容
内联
并排
Showing
11 changed file
with
46 addition
and
48 deletion
+46
-48
src/share/classes/javax/swing/SwingUtilities.java
src/share/classes/javax/swing/SwingUtilities.java
+2
-4
src/share/classes/javax/swing/SwingWorker.java
src/share/classes/javax/swing/SwingWorker.java
+2
-2
src/share/classes/javax/swing/package.html
src/share/classes/javax/swing/package.html
+2
-2
src/share/classes/javax/swing/text/AbstractDocument.java
src/share/classes/javax/swing/text/AbstractDocument.java
+8
-8
src/share/classes/javax/swing/text/DefaultCaret.java
src/share/classes/javax/swing/text/DefaultCaret.java
+2
-2
src/share/classes/javax/swing/text/DefaultStyledDocument.java
...share/classes/javax/swing/text/DefaultStyledDocument.java
+8
-8
src/share/classes/javax/swing/text/JTextComponent.java
src/share/classes/javax/swing/text/JTextComponent.java
+4
-4
src/share/classes/javax/swing/text/PlainDocument.java
src/share/classes/javax/swing/text/PlainDocument.java
+2
-2
src/share/classes/javax/swing/text/StyleContext.java
src/share/classes/javax/swing/text/StyleContext.java
+12
-12
src/share/classes/javax/swing/text/html/HTMLDocument.java
src/share/classes/javax/swing/text/html/HTMLDocument.java
+2
-2
src/share/classes/sun/swing/PrintingStatus.java
src/share/classes/sun/swing/PrintingStatus.java
+2
-2
未找到文件。
src/share/classes/javax/swing/SwingUtilities.java
浏览文件 @
e896ac07
...
...
@@ -1274,8 +1274,7 @@ public class SwingUtilities implements SwingConstants
* <p>
* Additional documentation and examples for this method can be
* found in
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How to Use Threads</a>,
* in <em>The Java Tutorial</em>.
* <A HREF="http://download.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>
...
...
@@ -1326,8 +1325,7 @@ public class SwingUtilities implements SwingConstants
* <p>
* Additional documentation and examples for this method can be
* found in
* <A HREF="http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How to Use Threads</a>,
* in <em>The Java Tutorial</em>.
* <A HREF="http://download.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>.
...
...
src/share/classes/javax/swing/SwingWorker.java
浏览文件 @
e896ac07
...
...
@@ -50,8 +50,8 @@ 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://
java.sun.com/docs/books/tutorial/uiswing/misc/threads
.html">
*
How to Use Threads
* <a href="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index
.html">
*
Concurrency in Swing
* </a> for more details):
* <ul>
* <li> Time-consuming tasks should not be run on the <i>Event
...
...
src/share/classes/javax/swing/package.html
浏览文件 @
e896ac07
...
...
@@ -119,9 +119,9 @@ input. Refer to {@link javax.swing.SwingWorker} for the preferred way to do such
processing when working with Swing.
<p>
More information on this topic can be found in the
<a
href=
"http://
java.sun.com/docs/books
/tutorial/uiswing/"
>
Swing tutorial
</a>
,
<a
href=
"http://
download.oracle.com/javase
/tutorial/uiswing/"
>
Swing tutorial
</a>
,
in particular the section on
<a
href=
"http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html"
>
How to Use Threads
</a>
.
<a
href=
"http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html"
>
Concurrency in Swing
</a>
.
<H2>
...
...
src/share/classes/javax/swing/text/AbstractDocument.java
浏览文件 @
e896ac07
...
...
@@ -409,8 +409,8 @@ public abstract class AbstractDocument implements Document, Serializable {
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param r the renderer to execute
*/
...
...
@@ -570,8 +570,8 @@ public abstract class AbstractDocument implements Document, Serializable {
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param offs the starting offset >= 0
* @param len the number of characters to remove >= 0
...
...
@@ -683,8 +683,8 @@ public abstract class AbstractDocument implements Document, Serializable {
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param offs the starting offset >= 0
* @param str the string to insert; does nothing with null/empty strings
...
...
@@ -818,8 +818,8 @@ public abstract class AbstractDocument implements Document, Serializable {
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param offs the position in the model >= 0
* @return the position
...
...
src/share/classes/javax/swing/text/DefaultCaret.java
浏览文件 @
e896ac07
...
...
@@ -237,8 +237,8 @@ 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://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*/
protected
final
synchronized
void
repaint
()
{
if
(
component
!=
null
)
{
...
...
src/share/classes/javax/swing/text/DefaultStyledDocument.java
浏览文件 @
e896ac07
...
...
@@ -173,8 +173,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param offset the starting offset >= 0
* @param data the element data
...
...
@@ -426,8 +426,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.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
* @param s the logical style to assign to the paragraph, null if none
...
...
@@ -483,8 +483,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param offset the offset in the document >= 0
* @param length the length >= 0
...
...
@@ -536,8 +536,8 @@ public class DefaultStyledDocument extends AbstractDocument implements StyledDoc
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param offset the offset into the paragraph >= 0
* @param length the number of characters affected >= 0
...
...
src/share/classes/javax/swing/text/JTextComponent.java
浏览文件 @
e896ac07
...
...
@@ -2213,8 +2213,8 @@ 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://
java.sun.com/docs/books/tutorial/uiswing/misc/threads
.html">
*
How to Use Threads
</A> for more information.
* HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index
.html">
*
Concurrency in Swing
</A> for more information.
*
* <p>
* <b>Sample Usage</b>. This code snippet shows a cross-platform print
...
...
@@ -2471,8 +2471,8 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* <p>
* This method is thread-safe, although most Swing methods are not. Please
* see <A
* HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads
.html">
*
How to Use Threads
</A> for more information.
* HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index
.html">
*
Concurrency in Swing
</A> for more information.
*
* <p>
* The returned {@code Printable} can be printed on any thread.
...
...
src/share/classes/javax/swing/text/PlainDocument.java
浏览文件 @
e896ac07
...
...
@@ -100,8 +100,8 @@ public class PlainDocument extends AbstractDocument {
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param offs the starting offset >= 0
* @param str the string to insert; does nothing with null/empty strings
...
...
src/share/classes/javax/swing/text/StyleContext.java
浏览文件 @
e896ac07
...
...
@@ -292,8 +292,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param old the old attribute set
* @param name the non-null attribute name
...
...
@@ -321,8 +321,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param old the old attribute set
* @param attr the attributes to add
...
...
@@ -349,8 +349,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param old the old set of attributes
* @param name the non-null attribute name
...
...
@@ -377,8 +377,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param old the old attribute set
* @param names the attribute names
...
...
@@ -405,8 +405,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param old the old attribute set
* @param attrs the attributes
...
...
@@ -445,8 +445,8 @@ public class StyleContext implements Serializable, AbstractDocument.AttributeCon
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @param a the set to reclaim
*/
...
...
src/share/classes/javax/swing/text/html/HTMLDocument.java
浏览文件 @
e896ac07
...
...
@@ -474,8 +474,8 @@ public class HTMLDocument extends DefaultStyledDocument {
* <p>
* This method is thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.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)
* @param length the number of characters affected (must be at least 0)
...
...
src/share/classes/sun/swing/PrintingStatus.java
浏览文件 @
e896ac07
...
...
@@ -43,8 +43,8 @@ import java.lang.reflect.InvocationTargetException;
* <p/>
* Methods of these class are thread safe, although most Swing methods
* are not. Please see
* <A HREF="http://
java.sun.com/docs/books/tutorial/uiswing/misc/threads.html">How
*
to Use Threads
</A> for more information.
* <A HREF="http://
download.oracle.com/javase/tutorial/uiswing/concurrency/index.html">Concurrency
*
in Swing
</A> for more information.
*
* @author Alexander Potochkin
* @since 1.6
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录