提交 8f93cbfc 编写于 作者: M malenkov

7035495: javax.swing.ImageIcon spec should be clarified

Reviewed-by: alexsch
上级 bd66ded6
......@@ -80,8 +80,20 @@ public class ImageIcon implements Icon, Serializable, Accessible {
ImageObserver imageObserver;
String description = null;
// Fields for twisted backward compatibility only. DO NOT USE.
/**
* Do not use this shared component, which is used to track image loading.
* It is left for backward compatibility only.
* @deprecated since 1.8
*/
@Deprecated
protected final static Component component;
/**
* Do not use this shared media tracker, which is used to load images.
* It is left for backward compatibility only.
* @deprecated since 1.8
*/
@Deprecated
protected final static MediaTracker tracker;
static {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册