Uses of Class
java.lang.Deprecated
-
Packages that use 已过时的 软件包 描述 com.sun.jarsigner 此程序包包含用于定义jarsigner工具使用的签名机制的接口和类。com.sun.java.accessibility.util 提供组成Java Accessibility Utilities的接口和类的集合。com.sun.javadoc 注意:此包中的声明已被包jdk.javadoc.doclet中的声明取代。com.sun.jdi 这是Java调试接口(JDI)的核心包,它定义了值,类型和目标VirtualMachine本身的镜像 - 以及引导工具。com.sun.tools.javadoc 此软件包及其内容已弃用,可能会在将来的版本中删除。java.applet 提供创建applet所需的类以及applet用于与其applet上下文通信的类。java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.color 提供颜色空间的类。java.awt.datatransfer 提供用于在应用程序之间和之内传输数据的接口和类。java.awt.event 提供用于处理AWT组件触发的不同类型事件的接口和类。java.awt.image 提供用于创建和修改图像的类。java.awt.image.renderable 提供用于生成与渲染无关的图像的类和接口。java.beans 包含与开发 bean相关的类 - 基于JavaBeans™体系结构的组件。java.io 通过数据流,序列化和文件系统提供系统输入和输出。java.lang 提供对Java编程语言设计至关重要的类。java.lang.reflect 提供用于获取有关类和对象的反射信息的类和接口。java.math 提供用于执行任意精度整数运算(BigInteger)和任意精度十进制算术(BigDecimal)的类。java.net 提供实现网络应用程序的类。java.rmi 提供RMI包。java.rmi.dgc 为RMI分布式垃圾收集(DGC)提供类和接口。java.rmi.registry 为RMI注册表提供一个类和两个接口。java.rmi.server 提供用于支持RMI服务器端的类和接口。java.security 提供安全框架的类和接口。java.security.acl 不推荐使用此包中的类和接口。java.sql 提供使用Java™编程语言访问和处理存储在数据源(通常是关系数据库)中的数据的API。java.util 包含集合框架,一些国际化支持类,服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,位数组和几个其他实用程序类。java.util.concurrent 实用类通常在并发编程中有用。java.util.concurrent.atomic 一个小型工具包,支持对单个变量进行无锁线程安全编程。java.util.jar 提供用于读取和写入JAR(Java ARchive)文件格式的类,该文件格式基于具有可选清单文件的标准ZIP文件格式。java.util.logging 提供Javaâ“2平台核心日志记录工具的类和接口。java.util.zip 提供用于读取和写入标准ZIP和GZIP文件格式的类。javax.accessibility 定义用户界面组件与提供对这些组件的访问的辅助技术之间的契约。javax.imageio.spi 一个Java Image I / O API包,包含读取器,编写器,转码器和流的插件接口,以及运行时注册表。javax.imageio.stream Java Image I / O API的一个包,用于处理来自文件和流的低级I / O.javax.lang.model.util 公用事业协助处理 program elements和 types 。javax.management 提供Java Management Extensions的核心类。javax.management.loading 提供实现高级动态加载的类。javax.management.monitor 提供监视器类的定义。javax.management.openmbean 提供开放数据类型和Open MBean描述符类。javax.management.remote.rmi RMI连接器是JMX Remote API的连接器,它使用RMI将客户端请求传输到远程MBean服务器。javax.naming 提供用于访问命名服务的类和接口。javax.net.ssl 提供安全套接字包的类。javax.security.cert 提供公钥证书的类。javax.sql.rowset JDBCRowSet实现的标准接口和基类。javax.swing 提供一组“轻量级”(全Java语言)组件,这些组件在所有平台上尽可能地工作。javax.swing.plaf 提供一个接口和许多抽象类,Swing使用它们来提供其可插入的外观功能。javax.swing.plaf.basic 提供根据Basic外观构建的用户界面对象。javax.swing.plaf.metal 提供根据Java外观(曾代号为 Metal )构建的用户界面对象,这是默认的外观。javax.swing.plaf.multi 提供组合两种或多种外观的用户界面对象。javax.swing.table 提供用于处理javax.swing.JTable类和接口。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.text.html 提供类HTMLEditorKit和用于创建HTML文本编辑器的支持类。javax.swing.tree 提供用于处理javax.swing.JTree类和接口。javax.tools 为可以从程序调用的工具提供接口,例如编译器。javax.xml.stream 为Streaming API for XML(StAX)定义接口和类。jdk.nashorn.api.scripting 该软件包提供了javax.script集成,这是使用Nashorn的首选方式。jdk.nashorn.api.tree Nashorn解析器API提供接口以将ECMAScript源代码表示为抽象语法树(AST)和解析器以解析ECMAScript源脚本。netscape.javascript 为Java代码提供在Web浏览器中访问JavaScript引擎和HTML DOM的能力。org.ietf.jgss 该软件包提供了一个框架,允许应用程序开发人员使用统一的API从各种底层安全机制(如Kerberos)中使用安全服务,如身份验证,数据完整性和数据机密性。org.xml.sax 提供核心SAX API。org.xml.sax.helpers 提供帮助程序类,包括支持引导基于SAX的应用程序。 -
-
Uses of 已过时的 in com.sun.jarsigner
Classes in com.sun.jarsigner with annotations of type 已过时的 变量和类型 类 描述 classContentSigner已过时。此类已被弃用。interfaceContentSignerParameters已过时。此类已被弃用。 -
Uses of 已过时的 in com.sun.java.accessibility.util
Fields in com.sun.java.accessibility.util with annotations of type 已过时的 变量和类型 字段 描述 protected static ActionListenerAWTEventMonitor. actionListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static AdjustmentListenerAWTEventMonitor. adjustmentListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static ComponentListenerAWTEventMonitor. componentListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static ComponentAWTEventMonitor. componentWithFocus不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用; 获取具有焦点的组件使用getComponentWithFocus方法。protected static ContainerListenerAWTEventMonitor. containerListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static FocusListenerAWTEventMonitor. focusListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static ItemListenerAWTEventMonitor. itemListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static KeyListenerAWTEventMonitor. keyListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static MouseListenerAWTEventMonitor. mouseListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static MouseMotionListenerAWTEventMonitor. mouseMotionListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static TextListenerAWTEventMonitor. textListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。protected static WindowListenerAWTEventMonitor. windowListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。 -
Uses of 已过时的 in com.sun.javadoc
Classes in com.sun.javadoc with annotations of type 已过时的 变量和类型 接口 描述 interfaceAnnotatedType不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceAnnotationDesc不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。static interfaceAnnotationDesc.ElementValuePair不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceAnnotationTypeDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceAnnotationTypeElementDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceAnnotationValue不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceClassDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此包中的声明已被包jdk.javadoc.doclet的声明取代。interfaceConstructorDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceDocErrorReporter不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。classDoclet不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceExecutableMemberDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此包中的声明已被包jdk.javadoc.doclet的声明取代。interfaceFieldDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此包中的声明已被包jdk.javadoc.doclet的声明取代。classLanguageVersion不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceMemberDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceMethodDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfacePackageDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此包中的声明已被包jdk.javadoc.doclet的声明取代。interfaceParameter不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceParameterizedType不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceParamTag不推荐使用,要删除:此API元素将在以后的版本中删除。此包中的声明已被包jdk.javadoc.doclet的声明取代。interfaceProgramElementDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此包中的声明已被包jdk.javadoc.doclet的声明取代。interfaceRootDoc不推荐使用,要删除:此API元素将在以后的版本中删除。此包中的声明已被包jdk.javadoc.doclet的声明取代。interfaceSeeTag不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceSerialFieldTag不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceSourcePosition不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceTag不推荐使用,要删除:此API元素将在以后的版本中删除。此包中的声明已被包jdk.javadoc.doclet的声明取代。interfaceThrowsTag不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceType不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceTypeVariable不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。interfaceWildcardType不推荐使用,要删除:此API元素将在以后的版本中删除。此程序包中的声明已被程序包jdk.javadoc.doclet的声明取代。Methods in com.sun.javadoc with annotations of type 已过时的 变量和类型 方法 描述 ClassDoc[]ClassDoc. importedClasses()不推荐使用,要删除:此API元素将在以后的版本中删除。导入声明是不应在此处公开的实现细节。PackageDoc[]ClassDoc. importedPackages()不推荐使用,要删除:此API元素将在以后的版本中删除。导入声明是不应在此处公开的实现细节。 -
Uses of 已过时的 in com.sun.jdi
Classes in com.sun.jdi with annotations of type 已过时的 变量和类型 类 描述 classInvalidCodeIndexException已过时。不再抛出此异常classInvalidLineNumberException已过时。不再抛出此异常 -
Uses of 已过时的 in com.sun.tools.javadoc
Classes in com.sun.tools.javadoc with annotations of type 已过时的 变量和类型 类 描述 classMain不推荐使用,要删除:此API元素将在以后的版本中删除。此类现已弃用,可能会在将来的版本中删除。 -
Uses of 已过时的 in java.applet
Classes in java.applet with annotations of type 已过时的 变量和类型 类 描述 classApplet已过时。不推荐使用Applet API,无需替换。interfaceAppletContext已过时。不推荐使用Applet API,无需替换。interfaceAppletStub已过时。不推荐使用Applet API,无需替换。interfaceAudioClip已过时。不推荐使用Applet API,无需替换。 -
Uses of 已过时的 in java.awt
Classes in java.awt with annotations of type 已过时的 变量和类型 类 描述 classEvent已过时。建议使用AWTEvent及其子类Fields in java.awt with annotations of type 已过时的 变量和类型 字段 描述 static intFrame. CROSSHAIR_CURSOR已过时。由Cursor.CROSSHAIR_CURSOR取代。static intFrame. DEFAULT_CURSOR已过时。由Cursor.DEFAULT_CURSOR取代。static intFrame. E_RESIZE_CURSOR已过时。由Cursor.E_RESIZE_CURSOR取代。static intFrame. HAND_CURSOR已过时。取而代之的是Cursor.HAND_CURSOR。static intFrame. MOVE_CURSOR已过时。取而代之的是Cursor.MOVE_CURSOR。static intFrame. N_RESIZE_CURSOR已过时。由Cursor.N_RESIZE_CURSOR取代。static intFrame. NE_RESIZE_CURSOR已过时。由Cursor.NE_RESIZE_CURSOR取代。static intFrame. NW_RESIZE_CURSOR已过时。由Cursor.NW_RESIZE_CURSOR取代。protected static Cursor[]Cursor. predefined已过时。从JDK 1.7版开始,应该使用Cursor.getPredefinedCursor(int)方法。static intFrame. S_RESIZE_CURSOR已过时。由Cursor.S_RESIZE_CURSOR取代。static intFrame. SE_RESIZE_CURSOR已过时。由Cursor.SE_RESIZE_CURSOR取代。static intFrame. SW_RESIZE_CURSOR已过时。由Cursor.SW_RESIZE_CURSOR取代。static intFrame. TEXT_CURSOR已过时。取而代之的是Cursor.TEXT_CURSOR。static intFrame. W_RESIZE_CURSOR已过时。由Cursor.W_RESIZE_CURSOR取代。static intFrame. WAIT_CURSOR已过时。由Cursor.WAIT_CURSOR取代。Methods in java.awt with annotations of type 已过时的 变量和类型 方法 描述 booleanComponent. action(Event evt, Object what)已过时。从JDK 1.1版开始,应该在触发动作事件的组件上将此组件注册为ActionListener。voidList. addItem(String item)已过时。由add(String)取代。voidList. addItem(String item, int index)已过时。由add(String, int)取代。voidBorderLayout. addLayoutComponent(String name, Component comp)已过时。由addLayoutComponent(Component, Object)取代。voidCardLayout. addLayoutComponent(String name, Component comp)已过时。由addLayoutComponent(Component, Object)取代。booleanList. allowsMultipleSelections()已过时。截至JDK 1.1版,由isMultipleMode()取代。voidTextArea. appendText(String str)已过时。截至JDK 1.1版,由append(String)取代。voidWindow. applyResourceBundle(String rbName)已过时。截至J2SE 1.4,由Component.applyComponentOrientation取代。voidWindow. applyResourceBundle(ResourceBundle rb)已过时。截至J2SE 1.4,由Component.applyComponentOrientation取代。RectangleComponent. bounds()已过时。截至JDK 1.1版,由getBounds()取代。voidList. clear()已过时。截至JDK 1.1版,由removeAll()取代。intContainer. countComponents()已过时。从JDK version 1.1开始,由getComponentCount()取代。intChoice. countItems()已过时。截至JDK 1.1版,由getItemCount()取代。intList. countItems()已过时。截至JDK 1.1版,由getItemCount()取代。intMenu. countItems()已过时。截至JDK 1.1版,由getItemCount()取代。intMenuBar. countMenus()已过时。截至JDK 1.1版,由getMenuCount()取代。voidList. delItem(int position)已过时。由remove(String)和remove(int)取代。voidList. delItems(int start, int end)已过时。从JDK 1.1版开始,未来不会公开使用。voidComponent. deliverEvent(Event e)已过时。截至JDK 1.1版,由dispatchEvent(AWTEvent e)取代。voidContainer. deliverEvent(Event e)已过时。截至JDK 1.1版,由dispatchEvent(AWTEvent e)取代voidComponent. disable()已过时。截至JDK 1.1版,由setEnabled(boolean)取代。voidMenuItem. disable()已过时。截至JDK 1.1版,由setEnabled(boolean)取代。voidComponent. enable()已过时。截至JDK 1.1版,由setEnabled(boolean)取代。voidComponent. enable(boolean b)已过时。截至JDK 1.1版,由setEnabled(boolean)取代。voidMenuItem. enable()已过时。截至JDK 1.1版,由setEnabled(boolean)取代。voidMenuItem. enable(boolean b)已过时。截至JDK 1.1版,由setEnabled(boolean)取代。voidGraphics. finalize()已过时。finalize方法已被弃用。voidPrintJob. finalize()已过时。finalize方法已被弃用。RectanglePolygon. getBoundingBox()已过时。截至JDK 1.1版,由getBounds()取代。RectangleGraphics. getClipRect()已过时。截至JDK 1.1版,由getClipBounds()取代。CheckboxCheckboxGroup. getCurrent()已过时。截至JDK 1.1版,由getSelectedCheckbox()取代。intFrame. getCursorType()已过时。截至JDK 1.1版,由Component.getCursor()取代。abstract String[]Toolkit. getFontList()abstract FontMetricsToolkit. getFontMetrics(Font font)已过时。截至JDK版本1.2,由Font方法getLineMetrics取代。intScrollbar. getLineIncrement()已过时。截至JDK 1.1版,由getUnitIncrement()取代。intFontMetrics. getMaxDecent()已过时。从JDK版本1.1.1开始,由getMaxDescent()取代。intToolkit. getMenuShortcutKeyMask()已过时。建议使用扩展修饰键和Toolkit.getMenuShortcutKeyMaskEx()static ComponentOrientationComponentOrientation. getOrientation(ResourceBundle bdl)已过时。从J2SE 1.4开始,使用ComponentOrientation.getOrientation(java.util.Locale)。intScrollbar. getPageIncrement()已过时。截至JDK 1.1版,由getBlockIncrement()取代。intScrollbar. getVisible()已过时。截至JDK 1.1版,由getVisibleAmount()取代。booleanComponent. gotFocus(Event evt, Object what)已过时。从JDK version 1.1开始,由processFocusEvent(FocusEvent)取代。booleanComponent. handleEvent(Event evt)已过时。截至JDK版本1.1由processEvent(AWTEvent)取代。voidComponent. hide()已过时。截至JDK 1.1版,由setVisible(boolean)取代。voidDialog. hide()已过时。截至JDK 1.5版,由setVisible(boolean)取代。voidWindow. hide()已过时。截至JDK 1.5版,由Window.setVisible(boolean)取代。voidTextArea. insertText(String str, int pos)已过时。截至JDK 1.1版,由insert(String, int)取代。InsetsContainer. insets()已过时。截至JDK 1.1版,由getInsets()取代。booleanComponent. inside(int x, int y)已过时。从JDK version 1.1开始,由contains(int,int)取代。booleanPolygon. inside(int x, int y)已过时。从JDK 1.1版开始,由contains(int, int)取代。booleanRectangle. inside(int X, int Y)已过时。截至JDK 1.1版,由contains(int, int)取代。booleanComponent. isFocusTraversable()已过时。截至1.4,由isFocusable()取代。booleanList. isSelected(int index)已过时。截至JDK 1.1版,由isIndexSelected(int)取代。booleanComponent. keyDown(Event evt, int key)已过时。从JDK version 1.1开始,由processKeyEvent(KeyEvent)取代。booleanComponent. keyUp(Event evt, int key)已过时。从JDK version 1.1开始,由processKeyEvent(KeyEvent)取代。voidComponent. layout()已过时。截至JDK 1.1版,由doLayout()取代。voidContainer. layout()已过时。截至JDK 1.1版,由doLayout()取代。voidScrollPane. layout()已过时。截至JDK 1.1版,由doLayout()取代。ComponentComponent. locate(int x, int y)已过时。从JDK version 1.1开始,由getComponentAt(int,int)取代。ComponentContainer. locate(int x, int y)已过时。截至JDK 1.1版,由getComponentAt(int, int)取代。PointComponent. location()已过时。截至JDK 1.1版,由getLocation()取代。booleanComponent. lostFocus(Event evt, Object what)已过时。从JDK version 1.1开始,由processFocusEvent(FocusEvent)取代。DimensionComponent. minimumSize()已过时。截至JDK 1.1版,由getMinimumSize()取代。DimensionContainer. minimumSize()已过时。截至JDK 1.1版,由getMinimumSize()取代。DimensionList. minimumSize()已过时。截至JDK 1.1版,由getMinimumSize()取代。DimensionList. minimumSize(int rows)已过时。截至JDK 1.1版,由getMinimumSize(int)取代。DimensionTextArea. minimumSize()已过时。截至JDK 1.1版,由getMinimumSize()取代。DimensionTextArea. minimumSize(int rows, int columns)已过时。截至JDK 1.1版,由getMinimumSize(int, int)取代。DimensionTextField. minimumSize()已过时。截至JDK 1.1版,由getMinimumSize()取代。DimensionTextField. minimumSize(int columns)已过时。截至JDK 1.1版,由getMinimumSize(int)取代。booleanComponent. mouseDown(Event evt, int x, int y)已过时。从JDK version 1.1开始,由processMouseEvent(MouseEvent)取代。booleanComponent. mouseDrag(Event evt, int x, int y)已过时。从JDK version 1.1开始,由processMouseMotionEvent(MouseEvent)取代。booleanComponent. mouseEnter(Event evt, int x, int y)已过时。从JDK version 1.1开始,由processMouseEvent(MouseEvent)取代。booleanComponent. mouseExit(Event evt, int x, int y)已过时。从JDK version 1.1开始,由processMouseEvent(MouseEvent)取代。booleanComponent. mouseMove(Event evt, int x, int y)已过时。从JDK version 1.1开始,由processMouseMotionEvent(MouseEvent)取代。booleanComponent. mouseUp(Event evt, int x, int y)已过时。从JDK version 1.1开始,由processMouseEvent(MouseEvent)取代。voidComponent. move(int x, int y)已过时。截至JDK 1.1版,由setLocation(int, int)取代。voidRectangle. move(int x, int y)已过时。截至JDK 1.1版,由setLocation(int, int)取代。voidComponent. nextFocus()已过时。从JDK 1.1版开始,由transferFocus()取代。booleanComponent. postEvent(Event e)已过时。从JDK version 1.1开始,由dispatchEvent(AWTEvent)取代。booleanMenuComponent. postEvent(Event evt)已过时。截至JDK 1.1版,由dispatchEvent取代。booleanMenuContainer. postEvent(Event evt)已过时。从JDK版本1.1替换为dispatchEvent(AWTEvent)。booleanWindow. postEvent(Event e)已过时。截至JDK 1.1版由dispatchEvent(AWTEvent)取代。DimensionComponent. preferredSize()已过时。截至JDK 1.1版,由getPreferredSize()取代。DimensionContainer. preferredSize()已过时。截至JDK 1.1版,由getPreferredSize()取代。DimensionList. preferredSize()已过时。截至JDK 1.1版,由getPreferredSize()取代。DimensionList. preferredSize(int rows)已过时。截至JDK 1.1版,由getPreferredSize(int)取代。DimensionTextArea. preferredSize()已过时。截至JDK 1.1版,由getPreferredSize()取代。DimensionTextArea. preferredSize(int rows, int columns)已过时。截至JDK 1.1版,由getPreferredSize(int, int)取代。DimensionTextField. preferredSize()已过时。截至JDK 1.1版,由getPreferredSize()取代。DimensionTextField. preferredSize(int columns)已过时。截至JDK 1.1版,由getPreferredSize(int)取代。protected static voidAWTKeyStroke. registerSubclass(类<?> subclass)已过时。voidTextArea. replaceText(String str, int start, int end)已过时。截至JDK 1.1版,由replaceRange(String, int, int)取代。voidComponent. reshape(int x, int y, int width, int height)已过时。截至JDK 1.1版,由setBounds(int, int, int, int)取代。voidRectangle. reshape(int x, int y, int width, int height)已过时。截至JDK 1.1版,由setBounds(int, int, int, int)取代。voidWindow. reshape(int x, int y, int width, int height)已过时。截至JDK 1.1版,由setBounds(int, int, int, int)取代。voidComponent. resize(int width, int height)已过时。截至JDK 1.1版,由setSize(int, int)取代。voidComponent. resize(Dimension d)已过时。截至JDK 1.1版,由setSize(Dimension)取代。voidRectangle. resize(int width, int height)已过时。截至JDK 1.1版,由setSize(int, int)取代。voidCheckboxGroup. setCurrent(Checkbox box)已过时。截至JDK 1.1版,由setSelectedCheckbox(Checkbox)取代。voidFrame. setCursor(int cursorType)已过时。截至JDK 1.1版,由Component.setCursor(Cursor)取代。voidTextField. setEchoCharacter(char c)已过时。截至JDK 1.1版,由setEchoChar(char)取代。voidScrollbar. setLineIncrement(int v)已过时。截至JDK 1.1版,由setUnitIncrement(int)取代。voidList. setMultipleSelections(boolean b)已过时。从JDK 1.1版开始,由setMultipleMode(boolean)取代。voidScrollbar. setPageIncrement(int v)已过时。截至JDK 1.1版,由setBlockIncrement()取代。voidComponent. show()已过时。截至JDK 1.1版,由setVisible(boolean)取代。voidComponent. show(boolean b)已过时。截至JDK 1.1版,由setVisible(boolean)取代。voidDialog. show()已过时。截至JDK 1.5版,由setVisible(boolean)取代。voidWindow. show()已过时。截至JDK 1.5版,由Window.setVisible(boolean)取代。DimensionComponent. size()已过时。截至JDK 1.1版,由getSize()取代。Constructors in java.awt with annotations of type 已过时的 构造器 描述 AWTEvent(Event event)已过时。 -
Uses of 已过时的 in java.awt.color
Methods in java.awt.color with annotations of type 已过时的 变量和类型 方法 描述 protected voidICC_Profile. finalize()已过时。finalize方法已被弃用。 -
Uses of 已过时的 in java.awt.datatransfer
Fields in java.awt.datatransfer with annotations of type 已过时的 变量和类型 字段 描述 static DataFlavorDataFlavor. plainTextFlavor已过时。截至1.3。Methods in java.awt.datatransfer with annotations of type 已过时的 变量和类型 方法 描述 booleanDataFlavor. equals(String s)已过时。与hashCode()合同不一致,请改用DataFlavor.isMimeTypeEqual(String)。protected StringDataFlavor. normalizeMimeType(String mimeType)已过时。从1.1开始,此实现永远不会调用此方法protected StringDataFlavor. normalizeMimeTypeParameter(String parameterName, String parameterValue)已过时。从1.1开始,此实现永远不会调用此方法 -
Uses of 已过时的 in java.awt.event
Fields in java.awt.event with annotations of type 已过时的 变量和类型 字段 描述 static intInputEvent. ALT_GRAPH_MASK已过时。建议改用ALT_GRAPH_DOWN_MASK和InputEvent.getModifiersEx()static intInputEvent. ALT_MASK已过时。建议改用ALT_DOWN_MASK和InputEvent.getModifiersEx()static intInputEvent. BUTTON1_MASK已过时。建议改用BUTTON1_DOWN_MASK和InputEvent.getModifiersEx()static intInputEvent. BUTTON2_MASK已过时。建议改用 BUTTON2_DOWN_MASK和InputEvent.getModifiersEx()。static intInputEvent. BUTTON3_MASK已过时。建议改用BUTTON3_DOWN_MASK和InputEvent.getModifiersEx()。static intInputEvent. CTRL_MASK已过时。建议改用CTRL_DOWN_MASK和InputEvent.getModifiersEx()static intInputEvent. META_MASK已过时。建议改用META_DOWN_MASK和InputEvent.getModifiersEx()static intInputEvent. SHIFT_MASK已过时。建议改用 SHIFT_DOWN_MASK和InputEvent.getModifiersEx()Methods in java.awt.event with annotations of type 已过时的 变量和类型 方法 描述 static StringKeyEvent. getKeyModifiersText(int modifiers)已过时。建议使用扩展修饰键和InputEvent.getModifiersExText(int)代替intInputEvent. getModifiers()已过时。建议使用扩展修饰键和InputEvent.getModifiersEx()代替voidKeyEvent. setModifiers(int modifiers)已过时。从JDK1.1.4开始Constructors in java.awt.event with annotations of type 已过时的 构造器 描述 KeyEvent(Component source, int id, long when, int modifiers, int keyCode)已过时。从JDK1.1开始; 请改用KeyEvent(Component, int, long, int, int, char) -
Uses of 已过时的 in java.awt.image
Methods in java.awt.image with annotations of type 已过时的 变量和类型 方法 描述 voidColorModel. finalize()已过时。finalize方法已被弃用。voidIndexColorModel. finalize()已过时。finalize方法已被弃用。 -
Uses of 已过时的 in java.awt.image.renderable
Methods in java.awt.image.renderable with annotations of type 已过时的 变量和类型 方法 描述 voidRenderContext. concetenateTransform(AffineTransform modTransform)已过时。由concatenateTransform(AffineTransform)取代。voidRenderContext. preConcetenateTransform(AffineTransform modTransform)已过时。取而代之的是preConcatenateTransform(AffineTransform)。 -
Uses of 已过时的 in java.beans
Classes in java.beans with annotations of type 已过时的 变量和类型 接口 描述 interfaceAppletInitializer已过时。不推荐使用Applet API。Methods in java.beans with annotations of type 已过时的 变量和类型 方法 描述 static ObjectBeans. instantiate(ClassLoader cls, String beanName, BeanContext beanContext, AppletInitializer initializer)已过时。建议使用Beans.instantiate(ClassLoader, String, BeanContext),因为不推荐使用Applet API。 -
Uses of 已过时的 in java.io
Classes in java.io with annotations of type 已过时的 变量和类型 类 描述 classLineNumberInputStream已过时。此类错误地假定字节充分表示字符。classStringBufferInputStream已过时。此类无法将字符正确转换为字节。Methods in java.io with annotations of type 已过时的 变量和类型 方法 描述 protected voidFileInputStream. finalize()不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用finalize方法,该方法将被删除。protected voidFileOutputStream. finalize()不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用finalize方法,该方法将被删除。StringDataInputStream. readLine()已过时。此方法无法将字节正确转换为字符。StringObjectInputStream. readLine()已过时。此方法无法将字节正确转换为字符。StringByteArrayOutputStream. toString(int hibyte)已过时。此方法无法将字节正确转换为字符。URLFile. toURL()已过时。此方法不会自动转义URL中非法的字符。abstract voidObjectOutputStream.PutField. write(ObjectOutput out)已过时。此方法不会以适当的格式写入此PutField对象包含的值,并且可能导致序列化流损坏。Constructors in java.io with annotations of type 已过时的 构造器 描述 StreamTokenizer(InputStream is)已过时。从JDK 1.1版开始,标记输入流的首选方法是将其转换为字符流,例如: -
Uses of 已过时的 in java.lang
Classes in java.lang with annotations of type 已过时的 变量和类型 类 描述 classCompiler不推荐使用,要删除:此API元素将在以后的版本中删除。JIT编译器及其技术变化太大,无法通过标准化接口进行有效控制。Fields in java.lang with annotations of type 已过时的 变量和类型 字段 描述 static Character.UnicodeBlockCharacter.UnicodeBlock. SURROGATES_AREA已过时。Methods in java.lang with annotations of type 已过时的 变量和类型 方法 描述 booleanThreadGroup. allowThreadSuspension(boolean b)已过时。此调用的定义取决于不推荐使用的ThreadGroup.suspend()。voidSecurityManager. checkMulticast(InetAddress maddr, byte ttl)已过时。请改用#checkPermission(java.security.Permission)intThread. countStackFrames()不推荐使用,要删除:此API元素将在以后的版本中删除。此调用的定义取决于不推荐使用的Thread.suspend()。protected 类<?>ClassLoader. defineClass(byte[] b, int off, int len)protected voidObject. finalize()已过时。最终确定机制本质上存在问题。voidString. getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin)已过时。此方法无法将字符正确转换为字节。protected 软件包ClassLoader. getPackage(String name)已过时。如果多个类加载器相互委托并定义具有相同包名的类,并且一个这样的加载器依赖于getPackage的查找行为从父加载器返回软件包,那么软件包公开的属性可能不是预期的该计划的其余部分。static 软件包Package. getPackage(String name)已过时。如果多个类加载器彼此委托并定义具有相同包名的类,并且一个这样的加载器依赖于getPackage的查找行为从父加载器返回软件包,那么软件包公开的属性可能不是预期的该计划的其余部分。static booleanCharacter. isJavaLetter(char ch)已过时。替换为isJavaIdentifierStart(char)。static booleanCharacter. isJavaLetterOrDigit(char ch)已过时。替换为isJavaIdentifierPart(char)。static booleanCharacter. isSpace(char ch)已过时。替换为isWhitespace(char)。intRuntime.Version. major()已过时。从Java SE 10开始,版本号的第一个元素不是主要版本号,而是特征释放计数器,每个基于时间的版本都会增加。intRuntime.Version. minor()已过时。从Java SE 10开始,版本号的第二个元素不是次要版本号,而是临时释放计数器,对于每个临时版本都会增加。TClass. newInstance()已过时。此方法传播由Nullary构造函数抛出的任何异常,包括已检查的异常。voidThread. resume()已过时。此方法仅用于Thread.suspend(),已被弃用,因为它容易出现死锁。voidThreadGroup. resume()已过时。此方法仅与Thread.suspend和ThreadGroup.suspend一起使用,这两种方法都已弃用,因为它们本身就容易出现死锁。intRuntime.Version. security()已过时。从Java SE 10开始,版本号的第三个元素不是安全级别,而是更新释放计数器,每个更新版本都会增加。voidThread. stop()已过时。这种方法本质上是不安全的。voidThreadGroup. stop()已过时。这种方法本质上是不安全的。voidThread. suspend()已过时。此方法已被弃用,因为它本身就容易出现死锁。voidThreadGroup. suspend()已过时。此方法本身就容易出现死锁。voidRuntime. traceInstructions(boolean on)不推荐使用,要删除:此API元素将在以后的版本中删除。此方法旨在控制指令跟踪。voidRuntime. traceMethodCalls(boolean on)不推荐使用,要删除:此API元素将在以后的版本中删除。此方法旨在控制方法调用跟踪。Constructors in java.lang with annotations of type 已过时的 构造器 描述 Boolean(boolean value)已过时。使用此构造函数很少是合适的。Boolean(String s)已过时。使用此构造函数很少是合适的。Byte(byte value)已过时。使用此构造函数很少是合适的。Byte(String s)已过时。使用此构造函数很少是合适的。Character(char value)已过时。使用此构造函数很少是合适的。Double(double value)已过时。使用此构造函数很少是合适的。Double(String s)已过时。使用此构造函数很少是合适的。Float(double value)已过时。使用此构造函数很少是合适的。Float(float value)已过时。使用此构造函数很少是合适的。Float(String s)已过时。使用此构造函数很少是合适的。Integer(int value)已过时。使用此构造函数很少是合适的。Integer(String s)已过时。使用此构造函数很少是合适的。Long(long value)已过时。使用此构造函数很少是合适的。Long(String s)已过时。使用此构造函数很少是合适的。Short(short value)已过时。使用此构造函数很少是合适的。Short(String s)已过时。使用此构造函数很少是合适的。String(byte[] ascii, int hibyte)已过时。此方法无法将字节正确转换为字符。String(byte[] ascii, int hibyte, int offset, int count)已过时。此方法无法将字节正确转换为字符。 -
Uses of 已过时的 in java.lang.reflect
Methods in java.lang.reflect with annotations of type 已过时的 变量和类型 方法 描述 static 类<?>Proxy. getProxyClass(ClassLoader loader, 类<?>... interfaces)已过时。在命名模块中生成的代理类被封装,并且其模块外部的代码无法访问。booleanAccessibleObject. isAccessible()已过时。不推荐使用此方法,因为它的名称暗示它在实际指示是否抑制了对Java语言访问控制的检查时检查反射对象是否可访问。 -
Uses of 已过时的 in java.math
Fields in java.math with annotations of type 已过时的 变量和类型 字段 描述 static intBigDecimal. ROUND_CEILING已过时。请改用RoundingMode.CEILING。static intBigDecimal. ROUND_DOWN已过时。请改用RoundingMode.DOWN。static intBigDecimal. ROUND_FLOOR已过时。请改用RoundingMode.FLOOR。static intBigDecimal. ROUND_HALF_DOWN已过时。static intBigDecimal. ROUND_HALF_EVEN已过时。static intBigDecimal. ROUND_HALF_UP已过时。请改用RoundingMode.HALF_UP。static intBigDecimal. ROUND_UNNECESSARY已过时。static intBigDecimal. ROUND_UP已过时。请改用RoundingMode.UP。Methods in java.math with annotations of type 已过时的 变量和类型 方法 描述 BigDecimalBigDecimal. divide(BigDecimal divisor, int roundingMode)已过时。应该优先使用方法BigDecimal.divide(BigDecimal, RoundingMode),而不是这种传统方法。BigDecimalBigDecimal. divide(BigDecimal divisor, int scale, int roundingMode)已过时。应该优先使用方法BigDecimal.divide(BigDecimal, int, RoundingMode),而不是这种传统方法。BigDecimalBigDecimal. setScale(int newScale, int roundingMode)已过时。应该优先使用方法BigDecimal.setScale(int, RoundingMode),而不是这种传统方法。 -
Uses of 已过时的 in java.net
Fields in java.net with annotations of type 已过时的 变量和类型 字段 描述 static intHttpURLConnection. HTTP_SERVER_ERROR已过时。它是错位的,不应该存在。Methods in java.net with annotations of type 已过时的 变量和类型 方法 描述 static StringURLDecoder. decode(String s)已过时。结果字符串可能会有所不同,具体取决于平台的默认编码。static StringURLEncoder. encode(String s)已过时。结果字符串可能会有所不同,具体取决于平台的默认编码。static StringURLConnection. getDefaultRequestProperty(String key)已过时。在获得适当的URLConnection实例后,应使用特定于实例的getRequestProperty方法。protected abstract byteDatagramSocketImpl. getTTL()已过时。请改用getTimeToLive。byteMulticastSocket. getTTL()已过时。使用getTimeToLive方法,它返回一个int而不是一个字节 。voidMulticastSocket. send(DatagramPacket p, byte ttl)已过时。请改用以下代码或代码:......static voidURLConnection. setDefaultRequestProperty(String key, String value)已过时。在获得适当的URLConnection实例后,应使用特定于实例的setRequestProperty方法。protected abstract voidDatagramSocketImpl. setTTL(byte ttl)已过时。请改用setTimeToLive。voidMulticastSocket. setTTL(byte ttl)已过时。使用setTimeToLive方法,它使用int而不是byte作为ttl的类型。protected voidURLStreamHandler. setURL(URL u, String protocol, String host, int port, String file, String ref)已过时。使用setURL(URL,String,String,int,String,String,String,String);Constructors in java.net with annotations of type 已过时的 构造器 描述 Socket(String host, int port, boolean stream)已过时。使用DatagramSocket代替UDP传输。Socket(InetAddress host, int port, boolean stream)已过时。使用DatagramSocket代替UDP传输。 -
Uses of 已过时的 in java.rmi
Classes in java.rmi with annotations of type 已过时的 变量和类型 类 描述 classRMISecurityException已过时。请改用SecurityException。classRMISecurityManager已过时。请改用SecurityManager。classServerRuntimeException已过时。没有替代品Constructors in java.rmi with annotations of type 已过时的 构造器 描述 RMISecurityException(String name)已过时。没有替代品RMISecurityException(String name, String arg)已过时。没有替代品ServerRuntimeException(String s, 异常 ex)已过时。没有替代品 -
Uses of 已过时的 in java.rmi.dgc
Methods in java.rmi.dgc with annotations of type 已过时的 变量和类型 方法 描述 static booleanVMID. isUnique()已过时。 -
Uses of 已过时的 in java.rmi.registry
Classes in java.rmi.registry with annotations of type 已过时的 变量和类型 接口 描述 interfaceRegistryHandler已过时。没有替代品Methods in java.rmi.registry with annotations of type 已过时的 变量和类型 方法 描述 RegistryRegistryHandler. registryImpl(int port)已过时。没有替代品。RegistryRegistryHandler. registryStub(String host, int port)已过时。没有替代品。 -
Uses of 已过时的 in java.rmi.server
Classes in java.rmi.server with annotations of type 已过时的 变量和类型 接口 描述 interfaceLoaderHandler已过时。没有替代品classLogStream已过时。没有替代品classOperation已过时。没有替代品interfaceRemoteCall已过时。没有替代品。classRemoteStub已过时。不推荐使用静态生成的存根,因为存根是动态生成的。interfaceServerRef已过时。没有替代品。interfaceSkeleton已过时。没有替代品。classSkeletonMismatchException已过时。没有替代品。classSkeletonNotFoundException已过时。没有替代品。classSocketSecurityException已过时。这个类已经过时了。Methods in java.rmi.server with annotations of type 已过时的 变量和类型 方法 描述 voidSkeleton. dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)已过时。没有替代品voidRemoteCall. done()已过时。没有替代品voidRemoteRef. done(RemoteCall call)已过时。1.2样式存根不再使用此方法。voidRemoteCall. executeCall()已过时。没有替代品static RemoteStubUnicastRemoteObject. exportObject(Remote obj)已过时。不推荐使用此方法,因为它仅支持静态存根。static PrintStreamLogStream. getDefaultStream()已过时。没有替代品ObjectInputRemoteCall. getInputStream()已过时。没有替代品StringOperation. getOperation()已过时。没有替代品Operation[]Skeleton. getOperations()已过时。没有替代品OutputStreamLogStream. getOutputStream()已过时。没有替代品ObjectOutputRemoteCall. getOutputStream()已过时。没有替代品ObjectOutputRemoteCall. getResultStream(boolean success)已过时。没有替代品ObjectLoaderHandler. getSecurityContext(ClassLoader loader)已过时。没有替代品static ObjectRMIClassLoader. getSecurityContext(ClassLoader loader)已过时。没有替代品。voidRemoteRef. invoke(RemoteCall call)已过时。1.2样式存根不再使用此方法。类<?>LoaderHandler. loadClass(String name)已过时。没有替代品类<?>LoaderHandler. loadClass(URL codebase, String name)已过时。没有替代品static 类<?>RMIClassLoader. loadClass(String name)已过时。由loadClass(String,String)方法取代static LogStreamLogStream. log(String name)已过时。没有替代品RemoteCallRemoteRef. newCall(RemoteObject obj, Operation[] op, int opnum, long hash)已过时。1.2样式存根不再使用此方法。static intLogStream. parseLevel(String s)已过时。没有替代品voidRemoteCall. releaseInputStream()已过时。没有替代品voidRemoteCall. releaseOutputStream()已过时。没有替代品static voidLogStream. setDefaultStream(PrintStream newDefault)已过时。没有替代品voidLogStream. setOutputStream(OutputStream out)已过时。没有替代品protected static voidRemoteStub. setRef(RemoteStub stub, RemoteRef ref)已过时。没有替代品。StringLogStream. toString()已过时。没有替代品StringOperation. toString()已过时。没有替代品voidLogStream. write(byte[] b, int off, int len)已过时。没有替代品voidLogStream. write(int b)已过时。没有替代品Constructors in java.rmi.server with annotations of type 已过时的 构造器 描述 Operation(String op)已过时。没有替代品SkeletonMismatchException(String s)已过时。没有替代品 -
Uses of 已过时的 in java.security
Classes in java.security with annotations of type 已过时的 变量和类型 接口 描述 interfaceCertificate不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。classIdentity不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。classIdentityScope不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。classSigner不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。Methods in java.security with annotations of type 已过时的 变量和类型 方法 描述 protected abstract ObjectSignatureSpi. engineGetParameter(String param)已过时。protected abstract voidSignatureSpi. engineSetParameter(String param, Object value)已过时。static StringSecurity. getAlgorithmProperty(String algName, String propName)已过时。此方法用于返回“SUN”加密服务提供程序的主文件中的专有属性的值,以确定如何解析特定于算法的参数。ObjectSignature. getParameter(String param)已过时。doubleProvider. getVersion()已过时。voidSignature. setParameter(String param, Object value)已过时。使用setParameter。Constructors in java.security with annotations of type 已过时的 构造器 描述 AuthProvider(String name, double version, String info)已过时。Provider(String name, double version, String info)已过时。 -
Uses of 已过时的 in java.security.acl
Classes in java.security.acl with annotations of type 已过时的 变量和类型 接口 描述 interfaceAcl不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。interfaceAclEntry不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。classAclNotFoundException不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。interfaceGroup不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。classLastOwnerException不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。classNotOwnerException不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。interfaceOwner不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。interfacePermission不推荐使用,要删除:此API元素将在以后的版本中删除。不推荐使用此类,并且在将来的Java SE版本中将其删除。 -
Uses of 已过时的 in java.sql
Methods in java.sql with annotations of type 已过时的 变量和类型 方法 描述 BigDecimalCallableStatement. getBigDecimal(int parameterIndex, int scale)已过时。使用getBigDecimal(int parameterIndex)或getBigDecimal(String parameterName)BigDecimalResultSet. getBigDecimal(int columnIndex, int scale)已过时。使用getBigDecimal(int columnIndex)或getBigDecimal(String columnLabel)BigDecimalResultSet. getBigDecimal(String columnLabel, int scale)已过时。使用getBigDecimal(int columnIndex)或getBigDecimal(String columnLabel)intTime. getDate()已过时。intTime. getDay()已过时。intDate. getHours()已过时。static PrintStreamDriverManager. getLogStream()已过时。使用getLogWriterintDate. getMinutes()已过时。intTime. getMonth()已过时。intDate. getSeconds()已过时。InputStreamResultSet. getUnicodeStream(int columnIndex)已过时。用getCharacterStream代替getUnicodeStreamInputStreamResultSet. getUnicodeStream(String columnLabel)已过时。请改用getCharacterStreamintTime. getYear()已过时。voidTime. setDate(int i)已过时。voidDate. setHours(int i)已过时。static voidDriverManager. setLogStream(PrintStream out)已过时。使用setLogWritervoidDate. setMinutes(int i)已过时。voidTime. setMonth(int i)已过时。voidDate. setSeconds(int i)已过时。voidPreparedStatement. setUnicodeStream(int parameterIndex, InputStream x, int length)已过时。使用setCharacterStreamvoidTime. setYear(int i)已过时。Constructors in java.sql with annotations of type 已过时的 构造器 描述 Date(int year, int month, int day)已过时。而是使用构造函数Date(long date)Time(int hour, int minute, int second)已过时。使用带有毫秒值的构造函数代替此构造函数Timestamp(int year, int month, int date, int hour, int minute, int second, int nano)已过时。而是使用构造函数Timestamp(long millis) -
Uses of 已过时的 in java.util
Classes in java.util with annotations of type 已过时的 变量和类型 类 描述 classObservable已过时。此类和Observer接口已被弃用。interfaceObserver已过时。此接口已被弃用。Methods in java.util with annotations of type 已过时的 变量和类型 方法 描述 intDate. getDate()已过时。截至JDK 1.1版,由Calendar.get(Calendar.DAY_OF_MONTH)取代。intDate. getDay()已过时。截至JDK 1.1版,由Calendar.get(Calendar.DAY_OF_WEEK)取代。intDate. getHours()已过时。截至JDK 1.1版,由Calendar.get(Calendar.HOUR_OF_DAY)取代。intDate. getMinutes()已过时。截至JDK 1.1版,由Calendar.get(Calendar.MINUTE)取代。intDate. getMonth()已过时。截至JDK 1.1版,由Calendar.get(Calendar.MONTH)取代。intDate. getSeconds()已过时。截至JDK 1.1版,由Calendar.get(Calendar.SECOND)取代。intDate. getTimezoneOffset()已过时。截至JDK 1.1版,由-(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / (60 * 1000)取代。intDate. getYear()已过时。截至JDK 1.1版,由Calendar.get(Calendar.YEAR) - 1900取代。static longDate. parse(String s)已过时。截至JDK 1.1版,由DateFormat.parse(String s)取代。voidProperties. save(OutputStream out, String comments)已过时。如果在保存属性列表时发生I / O错误,则此方法不会抛出IOException。voidDate. setDate(int date)已过时。截至JDK 1.1版,由Calendar.set(Calendar.DAY_OF_MONTH, int date)取代。voidDate. setHours(int hours)已过时。截至JDK 1.1版,由Calendar.set(Calendar.HOUR_OF_DAY, int hours)取代。voidDate. setMinutes(int minutes)已过时。截至JDK 1.1版,由Calendar.set(Calendar.MINUTE, int minutes)取代。voidDate. setMonth(int month)已过时。截至JDK 1.1版,由Calendar.set(Calendar.MONTH, int month)取代。voidDate. setSeconds(int seconds)已过时。截至JDK 1.1版,由Calendar.set(Calendar.SECOND, int seconds)取代。voidDate. setYear(int year)已过时。截至JDK 1.1版,由Calendar.set(Calendar.YEAR, year + 1900)取代。StringDate. toGMTString()已过时。自JDK 1.1版开始,由DateFormat.format(Date date)取代,使用GMTTimeZone。StringDate. toLocaleString()已过时。截至JDK 1.1版,由DateFormat.format(Date date)取代。static longDate. UTC(int year, int month, int date, int hrs, int min, int sec)已过时。从JDK版本1.1开始,由Calendar.set(year + 1900, month, date, hrs, min, sec)或GregorianCalendar(year + 1900, month, date, hrs, min, sec)替换,使用UTCTimeZone,然后是Calendar.getTime().getTime()。Constructors in java.util with annotations of type 已过时的 构造器 描述 Date(int year, int month, int date)已过时。截至JDK 1.1版,由Calendar.set(year + 1900, month, date)或GregorianCalendar(year + 1900, month, date)取代。Date(int year, int month, int date, int hrs, int min)已过时。截至JDK 1.1版,由Calendar.set(year + 1900, month, date, hrs, min)或GregorianCalendar(year + 1900, month, date, hrs, min)取代。Date(int year, int month, int date, int hrs, int min, int sec)已过时。截至JDK 1.1版,由Calendar.set(year + 1900, month, date, hrs, min, sec)或GregorianCalendar(year + 1900, month, date, hrs, min, sec)取代。Date(String s)已过时。截至JDK 1.1版,由DateFormat.parse(String s)取代。 -
Uses of 已过时的 in java.util.concurrent
Methods in java.util.concurrent with annotations of type 已过时的 变量和类型 方法 描述 protected voidThreadPoolExecutor. finalize()已过时。 -
Uses of 已过时的 in java.util.concurrent.atomic
Methods in java.util.concurrent.atomic with annotations of type 已过时的 变量和类型 方法 描述 booleanAtomicBoolean. weakCompareAndSet(boolean expectedValue, boolean newValue)已过时。此方法具有简单的记忆效应,但方法名称意味着易失性记忆效应(请参阅AtomicBoolean.compareAndExchange(boolean, boolean)和AtomicBoolean.compareAndSet(boolean, boolean)等方法)。booleanAtomicInteger. weakCompareAndSet(int expectedValue, int newValue)已过时。此方法具有简单的记忆效应,但方法名称意味着易失性记忆效应(请参阅AtomicInteger.compareAndExchange(int, int)和AtomicInteger.compareAndSet(int, int)等方法)。booleanAtomicIntegerArray. weakCompareAndSet(int i, int expectedValue, int newValue)已过时。此方法具有简单的记忆效应,但方法名称意味着易失性记忆效应(请参阅AtomicIntegerArray.compareAndExchange(int, int, int)和AtomicIntegerArray.compareAndSet(int, int, int)等方法)。booleanAtomicLong. weakCompareAndSet(long expectedValue, long newValue)已过时。此方法具有简单的记忆效应,但方法名称意味着易失性记忆效应(请参阅AtomicLong.compareAndExchange(long, long)和AtomicLong.compareAndSet(long, long)等方法)。booleanAtomicLongArray. weakCompareAndSet(int i, long expectedValue, long newValue)已过时。此方法具有简单的记忆效应,但方法名称意味着易失性记忆效应(请参阅AtomicLongArray.compareAndExchange(int, long, long)和AtomicLongArray.compareAndSet(int, long, long)等方法)。booleanAtomicReference. weakCompareAndSet(V expectedValue, V newValue)已过时。此方法具有简单的记忆效应,但方法名称意味着易失性记忆效应(请参阅AtomicReference.compareAndExchange(V, V)和AtomicReference.compareAndSet(V, V)等方法)。booleanAtomicReferenceArray. weakCompareAndSet(int i, E expectedValue, E newValue)已过时。此方法具有简单的记忆效应,但方法名称意味着易失性记忆效应(请参阅AtomicReferenceArray.compareAndExchange(int, E, E)和AtomicReferenceArray.compareAndSet(int, E, E)等方法)。 -
Uses of 已过时的 in java.util.jar
Classes in java.util.jar with annotations of type 已过时的 变量和类型 类 描述 classPack200不推荐使用,要删除:此API元素将在以后的版本中删除。此类已弃用,计划在将来的版本中删除。static interfacePack200.Packer不推荐使用,要删除:此API元素将在以后的版本中删除。此接口已弃用,计划在将来的版本中删除。static interfacePack200.Unpacker不推荐使用,要删除:此API元素将在以后的版本中删除。此接口已弃用,计划在将来的版本中删除。Fields in java.util.jar with annotations of type 已过时的 变量和类型 字段 描述 static Attributes.NameAttributes.Name. EXTENSION_INSTALLATION已过时。不再支持扩展机制。static Attributes.NameAttributes.Name. IMPLEMENTATION_URL已过时。不再支持扩展机制。static Attributes.NameAttributes.Name. IMPLEMENTATION_VENDOR_ID已过时。不再支持扩展机制。 -
Uses of 已过时的 in java.util.logging
Classes in java.util.logging with annotations of type 已过时的 变量和类型 接口 描述 interfaceLoggingMXBean已过时。LoggingMXBean不再是platform MXBean,而是替换为PlatformLoggingMXBean。Fields in java.util.logging with annotations of type 已过时的 变量和类型 字段 描述 static LoggerLogger. global已过时。该字段的初始化容易出现死锁。Methods in java.util.logging with annotations of type 已过时的 变量和类型 方法 描述 static LoggingMXBeanLogManager. getLoggingMXBean()已过时。java.util.logging.LoggingMXBean已被弃用,取而代之java.lang.management.PlatformLoggingMXBean。voidLogger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg)voidLogger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1)voidLogger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params)voidLogger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)voidLogRecord. setMillis(long millis)已过时。LogRecord使用Instant值维护具有纳秒分辨率的时间戳。 -
Uses of 已过时的 in java.util.zip
Methods in java.util.zip with annotations of type 已过时的 变量和类型 方法 描述 protected voidDeflater. finalize()不推荐使用,要删除:此API元素将在以后的版本中删除。finalize方法已被弃用,将被删除。protected voidInflater. finalize()不推荐使用,要删除:此API元素将在以后的版本中删除。finalize方法已被弃用,将被删除。protected voidZipFile. finalize()不推荐使用,要删除:此API元素将在以后的版本中删除。finalize方法已被弃用,将被删除。 -
Uses of 已过时的 in javax.accessibility
Classes in javax.accessibility with annotations of type 已过时的 变量和类型 类 描述 classAccessibleResourceBundle已过时。从Java平台的1.3版开始,不推荐使用此类 -
Uses of 已过时的 in javax.imageio.spi
Fields in javax.imageio.spi with annotations of type 已过时的 变量和类型 字段 描述 static 类<?>[]ImageReaderSpi. STANDARD_INPUT_TYPE已过时。而不是使用此字段,直接创建等效数组{ ImageInputStream.class }。static 类<?>[]ImageWriterSpi. STANDARD_OUTPUT_TYPE已过时。而不是使用此字段,直接创建等效数组{ ImageOutputStream.class }。Methods in javax.imageio.spi with annotations of type 已过时的 变量和类型 方法 描述 voidServiceRegistry. finalize()已过时。finalize方法已被弃用。 -
Uses of 已过时的 in javax.imageio.stream
Methods in javax.imageio.stream with annotations of type 已过时的 变量和类型 方法 描述 protected voidFileCacheImageInputStream. finalize()已过时。finalize方法已被弃用。protected voidFileImageInputStream. finalize()已过时。finalize方法已被弃用。protected voidFileImageOutputStream. finalize()已过时。finalize方法已被弃用。protected voidImageInputStreamImpl. finalize()已过时。finalize方法已被弃用。protected voidMemoryCacheImageInputStream. finalize()已过时。finalize方法已被弃用。 -
Uses of 已过时的 in javax.lang.model.util
Constructors in javax.lang.model.util with annotations of type 已过时的 构造器 描述 AbstractAnnotationValueVisitor6()已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。AbstractElementVisitor6()已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。AbstractTypeVisitor6()已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。ElementKindVisitor6()已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。ElementKindVisitor6(R defaultValue)已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。ElementScanner6()已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。ElementScanner6(R defaultValue)已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。SimpleAnnotationValueVisitor6()已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。SimpleAnnotationValueVisitor6(R defaultValue)已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。SimpleElementVisitor6()已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。SimpleElementVisitor6(R defaultValue)已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。SimpleTypeVisitor6()已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。SimpleTypeVisitor6(R defaultValue)已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。TypeKindVisitor6()已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。TypeKindVisitor6(R defaultValue)已过时。第6版已经过时; 更新为访问者以获取更新的版本级别。 -
Uses of 已过时的 in javax.management
Classes in javax.management with annotations of type 已过时的 变量和类型 类 描述 classDefaultLoaderRepository已过时。Methods in javax.management with annotations of type 已过时的 变量和类型 方法 描述 default ObjectInputStreamMBeanServer. deserialize(String className, byte[] data)已过时。使用MBeanServer.getClassLoaderRepository()获取类装入器存储库并使用它进行反序列化。default ObjectInputStreamMBeanServer. deserialize(String className, ObjectName loaderName, byte[] data)已过时。使用getClassLoader获取用于反序列化的类加载器。default ObjectInputStreamMBeanServer. deserialize(ObjectName name, byte[] data)已过时。使用getClassLoaderFor获取用于反序列化的相应类加载器。voidAttributeValueExp. setMBeanServer(MBeanServer s)已过时。这种方法没有效果。voidStringValueExp. setMBeanServer(MBeanServer s)已过时。voidValueExp. setMBeanServer(MBeanServer s)已过时。不需要此方法,因为ValueExp可以访问在其中它被通过使用评估的MBean服务器QueryEval.getMBeanServer()。Constructors in javax.management with annotations of type 已过时的 构造器 描述 AttributeValueExp()已过时。使用此构造函数创建的实例不能在查询中使用。 -
Uses of 已过时的 in javax.management.loading
Classes in javax.management.loading with annotations of type 已过时的 变量和类型 类 描述 classDefaultLoaderRepository已过时。 -
Uses of 已过时的 in javax.management.monitor
Fields in javax.management.monitor with annotations of type 已过时的 变量和类型 字段 描述 protected intMonitor. alreadyNotified已过时。相当于Monitor.alreadyNotifieds[0]。protected StringMonitor. dbgTag已过时。没有替代品。 -
Uses of 已过时的 in javax.management.openmbean
Fields in javax.management.openmbean with annotations of type 已过时的 变量和类型 字段 描述 static String[]OpenType. ALLOWED_CLASSNAMES已过时。 -
Uses of 已过时的 in javax.management.remote.rmi
Classes in javax.management.remote.rmi with annotations of type 已过时的 变量和类型 类 描述 classRMIIIOPServerImpl已过时。不再支持此传输。Fields in javax.management.remote.rmi with annotations of type 已过时的 变量和类型 字段 描述 static StringRMIConnectorServer. CREDENTIAL_TYPES不推荐使用,要删除:此API元素将在以后的版本中删除。 -
Uses of 已过时的 in javax.naming
Fields in javax.naming with annotations of type 已过时的 变量和类型 字段 描述 static StringContext. APPLET已过时。在构造初始上下文时,将忽略具有此名称的环境属性。 -
Uses of 已过时的 in javax.net.ssl
Methods in javax.net.ssl with annotations of type 已过时的 变量和类型 方法 描述 X509Certificate[]HandshakeCompletedEvent. getPeerCertificateChain()已过时。应该使用返回java.security.cert.Certificate数组的HandshakeCompletedEvent.getPeerCertificates()方法。X509Certificate[]SSLSession. getPeerCertificateChain()已过时。应该使用返回java.security.cert.Certificate数组的SSLSession.getPeerCertificates()方法。 -
Uses of 已过时的 in javax.security.cert
Classes in javax.security.cert with annotations of type 已过时的 变量和类型 类 描述 classCertificate已过时。请改用java.security.cert的类。classCertificateEncodingException已过时。请改用java.security.cert的类。classCertificateException已过时。请改用java.security.cert的类。classCertificateExpiredException已过时。请改用java.security.cert的类。classCertificateNotYetValidException已过时。请改用java.security.cert的类。classCertificateParsingException已过时。请改用java.security.cert的类。classX509Certificate已过时。请改用java.security.cert的类。 -
Uses of 已过时的 in javax.sql.rowset
Fields in javax.sql.rowset with annotations of type 已过时的 变量和类型 字段 描述 static booleanCachedRowSet. COMMIT_ON_ACCEPT_CHANGES已过时。由于此字段为final(它是接口的一部分),因此无法更改其值。Methods in javax.sql.rowset with annotations of type 已过时的 变量和类型 方法 描述 voidBaseRowSet. setUnicodeStream(int parameterIndex, InputStream x, int length)已过时。应该使用getCharacterStream代替它 -
Uses of 已过时的 in javax.swing
Classes in javax.swing with annotations of type 已过时的 变量和类型 类 描述 classJApplet已过时。不推荐使用Applet API,无需替换。protected classJComponent.AccessibleJComponent.AccessibleFocusHandler已过时。不再使用或不需要此类。Fields in javax.swing with annotations of type 已过时的 变量和类型 字段 描述 protected FocusListenerJComponent.AccessibleJComponent. accessibleFocusHandler已过时。protected booleanJViewport. backingStore已过时。截至Java 2平台v1.3protected static ComponentImageIcon. component已过时。从1.8开始protected static MediaTrackerImageIcon. tracker已过时。从1.8开始Methods in javax.swing with annotations of type 已过时的 变量和类型 方法 描述 voidRepaintManager. addDirtyRegion(Applet applet, int x, int y, int w, int h)已过时。不推荐使用Applet API。static JScrollPaneJTable. createScrollPaneForTable(JTable aTable)已过时。截至Swing版本1.0.2,由new JScrollPane(aTable)取代。voidJComponent. disable()已过时。截至JDK 1.1版,由java.awt.Component.setEnabled(boolean)取代。static voidFocusManager. disableSwingFocusManager()已过时。截至1.4,由KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy)取代voidJComponent. enable()已过时。截至JDK 1.1版,由java.awt.Component.setEnabled(boolean)取代。static ComponentSwingUtilities. findFocusOwner(Component c)已过时。截至1.4,由KeyboardFocusManager.getFocusOwner()取代。ComponentJMenuBar. getComponentAtIndex(int i)已过时。由getComponent(int i)取代ComponentJPopupMenu. getComponentAtIndex(int i)已过时。static KeyStrokeKeyStroke. getKeyStroke(char keyChar, boolean onKeyRelease)已过时。使用getKeyStroke(char)StringAbstractButton. getLabel()已过时。- 由getTextJMenuBarJInternalFrame. getMenuBar()已过时。截至Swing版本1.0.3,由getJMenuBar()取代。JMenuBarJRootPane. getMenuBar()已过时。截至Swing 1.0.3版由getJMenuBar()取代。ComponentJComponent. getNextFocusableComponent()已过时。截至1.4,由FocusTraversalPolicy取代。Object[]JList. getSelectedValues()已过时。截至JDK 1.7,由JList.getSelectedValuesList()取代StringJPasswordField. getText()已过时。截至Java 2平台v1.2,由getPassword取代。StringJPasswordField. getText(int offs, int len)已过时。截至Java 2平台v1.2,由getPassword取代。RectangleScrollPaneLayout. getViewportBorderBounds(JScrollPane scrollpane)已过时。截至JDK版本,Swing1.1由JScrollPane.getViewportBorderBounds()取代。booleanJViewport. isBackingStoreEnabled()已过时。截至Java 2平台v1.3,由getScrollMode()取代。static booleanFocusManager. isFocusManagerEnabled()已过时。截至1.4,由KeyboardFocusManager.getDefaultFocusTraversalPolicy()取代booleanJComponent. isManagingFocus()已过时。截至1.4,由Component.setFocusTraversalKeys(int, Set)和Container.setFocusCycleRoot(boolean)取代。booleanJComponent. requestDefaultFocus()已过时。截至1.4,由FocusTraversalPolicy.getDefaultComponent(Container).requestFocus()取代voidJComponent. reshape(int x, int y, int w, int h)已过时。截至JDK 5,由Component.setBounds(int, int, int, int)取代。voidJViewport. setBackingStoreEnabled(boolean enabled)已过时。截至Java 2平台v1.3,由setScrollMode()取代。voidAbstractButton. setLabel(String label)已过时。- 替换为setText(text)voidJInternalFrame. setMenuBar(JMenuBar m)已过时。截至Swing 1.0.3版由setJMenuBar(JMenuBar m)取代。voidJRootPane. setMenuBar(JMenuBar menu)已过时。截至Swing版本1.0.3由setJMenuBar(JMenuBar menu)取代。voidJComponent. setNextFocusableComponent(Component aComponent)已过时。截至1.4,由FocusTraversalPolicy取代booleanInputVerifier. shouldYieldFocus(JComponent input)voidJTable. sizeColumnsToFit(boolean lastColumnOnly)已过时。截至Swing版本1.0.3,由doLayout()取代。 -
Uses of 已过时的 in javax.swing.plaf
Methods in javax.swing.plaf with annotations of type 已过时的 变量和类型 方法 描述 StringTextUI. getToolTipText(JTextComponent t, Point pt)abstract RectangleTextUI. modelToView(JTextComponent t, int pos)abstract RectangleTextUI. modelToView(JTextComponent t, int pos, Position.Bias bias)abstract intTextUI. viewToModel(JTextComponent t, Point pt)abstract intTextUI. viewToModel(JTextComponent t, Point pt, Position.Bias[] biasReturn) -
Uses of 已过时的 in javax.swing.plaf.basic
Fields in javax.swing.plaf.basic with annotations of type 已过时的 变量和类型 字段 描述 protected KeyStrokeBasicDesktopPaneUI. closeKey已过时。截至1.3。protected KeyStrokeBasicSplitPaneUI. dividerResizeToggleKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicSplitPaneUI. downKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicTabbedPaneUI. downKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicToolBarUI. downKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicSplitPaneUI. endKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicSplitPaneUI. homeKey已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. keyboardDownRightListener已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. keyboardEndListener已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. keyboardHomeListener已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. keyboardResizeToggleListener已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. keyboardUpLeftListener已过时。截至Java 2平台v1.3。protected KeyStrokeBasicSplitPaneUI. leftKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicTabbedPaneUI. leftKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicToolBarUI. leftKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicDesktopPaneUI. maximizeKey已过时。截至1.3。protected KeyStrokeBasicDesktopPaneUI. minimizeKey已过时。截至1.3。protected KeyStrokeBasicDesktopPaneUI. navigateKey已过时。截至1.3。protected KeyStrokeBasicDesktopPaneUI. navigateKey2已过时。截至1.3。protected KeyStrokeBasicInternalFrameUI. openMenuKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicSplitPaneUI. rightKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicTabbedPaneUI. rightKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicToolBarUI. rightKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicSplitPaneUI. upKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicTabbedPaneUI. upKey已过时。截至Java 2平台v1.3。protected KeyStrokeBasicToolBarUI. upKey已过时。截至Java 2平台v1.3。Methods in javax.swing.plaf.basic with annotations of type 已过时的 变量和类型 方法 描述 protected ActionListenerBasicSplitPaneUI. createKeyboardDownRightListener()已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. createKeyboardEndListener()已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. createKeyboardHomeListener()已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. createKeyboardResizeToggleListener()已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. createKeyboardUpLeftListener()已过时。截至Java 2平台v1.3。protected intBasicSplitPaneUI. getDividerBorderSize()已过时。从Java 2平台v1.3开始,改为在分隔符上设置边框。RectangleBasicTextUI. modelToView(JTextComponent tc, int pos)RectangleBasicTextUI. modelToView(JTextComponent tc, int pos, Position.Bias bias)intBasicTextUI. viewToModel(JTextComponent tc, Point pt)intBasicTextUI. viewToModel(JTextComponent tc, Point pt, Position.Bias[] biasReturn) -
Uses of 已过时的 in javax.swing.plaf.metal
Classes in javax.swing.plaf.metal with annotations of type 已过时的 变量和类型 类 描述 classMetalComboBoxUI.MetalComboPopup已过时。截至Java 2平台v1.4。protected classMetalFileChooserUI.FileRenderer已过时。从JDK版本9开始。protected classMetalFileChooserUI.SingleClickListener已过时。从JDK版本9开始。Methods in javax.swing.plaf.metal with annotations of type 已过时的 变量和类型 方法 描述 protected voidMetalComboBoxUI. editablePropertyChanged(PropertyChangeEvent e)已过时。截至Java 2平台v1.4。protected voidMetalComboBoxUI. removeListeners()已过时。截至Java 2平台v1.4。voidMetalScrollPaneUI. uninstallListeners(JScrollPane scrollPane) -
Uses of 已过时的 in javax.swing.plaf.multi
Methods in javax.swing.plaf.multi with annotations of type 已过时的 变量和类型 方法 描述 RectangleMultiTextUI. modelToView(JTextComponent a, int b)RectangleMultiTextUI. modelToView(JTextComponent a, int b, Position.Bias c)intMultiTextUI. viewToModel(JTextComponent a, Point b)已过时。intMultiTextUI. viewToModel(JTextComponent a, Point b, Position.Bias[] c)已过时。 -
Uses of 已过时的 in javax.swing.table
Fields in javax.swing.table with annotations of type 已过时的 变量和类型 字段 描述 protected intTableColumn. resizedPostingDisableCount已过时。从Java 2平台v1.3开始Methods in javax.swing.table with annotations of type 已过时的 变量和类型 方法 描述 voidTableColumn. disableResizedPosting()已过时。从Java 2平台v1.3开始voidTableColumn. enableResizedPosting()已过时。从Java 2平台v1.3开始 -
Uses of 已过时的 in javax.swing.text
Classes in javax.swing.text with annotations of type 已过时的 变量和类型 类 描述 classDefaultTextUI已过时。classTableView.TableCell已过时。表格单元格现在可以是任何View实现。Methods in javax.swing.text with annotations of type 已过时的 变量和类型 方法 描述 protected TableView.TableCellTableView. createTableCell(Element elem)已过时。表单元格现在可以是任意的View实现,应该由ViewFactory而不是表生成。protected intPasswordView. drawEchoCharacter(Graphics g, int x, int y, char c)protected voidPlainView. drawLine(int lineIndex, Graphics g, int x, int y)protected voidWrappedPlainView. drawLine(int p0, int p1, Graphics g, int x, int y)protected intPasswordView. drawSelectedText(Graphics g, int x, int y, int p0, int p1)protected intPlainView. drawSelectedText(Graphics g, int x, int y, int p0, int p1)protected intWrappedPlainView. drawSelectedText(Graphics g, int x, int y, int p0, int p1)static intUtilities. drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset)protected intPasswordView. drawUnselectedText(Graphics g, int x, int y, int p0, int p1)protected intPlainView. drawUnselectedText(Graphics g, int x, int y, int p0, int p1)protected intWrappedPlainView. drawUnselectedText(Graphics g, int x, int y, int p0, int p1)static intUtilities. getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)protected FontMetricsLabelView. getFontMetrics()已过时。在JDK中运行时,FontMetrics不用于字形呈现。static intUtilities. getPositionAbove(JTextComponent c, int offs, int x)static intUtilities. getPositionBelow(JTextComponent c, int offs, int x)static intUtilities. getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)static intUtilities. getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset, boolean round)static intUtilities. getTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset)RectangleJTextComponent. modelToView(int pos)ShapeView. modelToView(int pos, Shape a)已过时。intJTextComponent. viewToModel(Point pt)intView. viewToModel(float x, float y, Shape a)已过时。 -
Uses of 已过时的 in javax.swing.text.html
Fields in javax.swing.text.html with annotations of type 已过时的 变量和类型 字段 描述 static StringFormView. RESET已过时。从1.3开始,值来自UIManager UIManager属性FormView.resetButtonTextstatic StringFormView. SUBMIT已过时。从1.3开始,值现在来自UIManager属性FormView.submitButtonTextMethods in javax.swing.text.html with annotations of type 已过时的 变量和类型 方法 描述 protected voidHTMLEditorKit.InsertHTMLTextAction. insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)已过时。从Java 2平台v1.3开始,使用insertAtBoundary -
Uses of 已过时的 in javax.swing.tree
Methods in javax.swing.tree with annotations of type 已过时的 变量和类型 方法 描述 protected voidDefaultTreeSelectionModel. notifyPathChange(Vector<?> changedPaths, TreePath oldLeadSelection)已过时。截至JDK 1.7版 -
Uses of 已过时的 in javax.tools
Methods in javax.tools with annotations of type 已过时的 变量和类型 方法 描述 static ClassLoaderToolProvider. getSystemToolClassLoader()已过时。此方法将在Java SE的未来版本中删除。 -
Uses of 已过时的 in javax.xml.stream
Methods in javax.xml.stream with annotations of type 已过时的 变量和类型 方法 描述 static XMLEventFactoryXMLEventFactory. newInstance(String factoryId, ClassLoader classLoader)已过时。不推荐使用此方法以保持API一致性。static XMLInputFactoryXMLInputFactory. newInstance(String factoryId, ClassLoader classLoader)已过时。不推荐使用此方法以保持API一致性。static XMLInputFactoryXMLOutputFactory. newInstance(String factoryId, ClassLoader classLoader)已过时。不推荐使用此方法,因为它返回XMLInputFactory的实例,该实例是错误的类。 -
Uses of 已过时的 in jdk.nashorn.api.scripting
Classes in jdk.nashorn.api.scripting with annotations of type 已过时的 变量和类型 类 描述 classAbstractJSObject不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceClassFilter不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceJSObject不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。classNashornException不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。classNashornScriptEngine不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。classNashornScriptEngineFactory不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。classScriptObjectMirror不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。classScriptUtils不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。classURLReader不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。Methods in jdk.nashorn.api.scripting with annotations of type 已过时的 变量和类型 方法 描述 static ObjectAbstractJSObject. getDefaultValue(JSObject jsobj, 类<?> hint)已过时。doubleAbstractJSObject. toNumber()已过时。default doubleJSObject. toNumber()已过时。 -
Uses of 已过时的 in jdk.nashorn.api.tree
Classes in jdk.nashorn.api.tree with annotations of type 已过时的 变量和类型 接口 描述 interfaceArrayAccessTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceArrayLiteralTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceAssignmentTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceBinaryTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceBlockTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceBreakTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceCaseTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceCatchTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceClassDeclarationTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceClassExpressionTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceCompilationUnitTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceCompoundAssignmentTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceConditionalExpressionTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceConditionalLoopTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceContinueTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceDebuggerTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceDiagnostic不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。static classDiagnostic.Kind不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceDiagnosticListener不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceDoWhileLoopTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceEmptyStatementTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceErroneousTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceExportEntryTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceExpressionStatementTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceExpressionTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceForInLoopTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceForLoopTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceForOfLoopTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceFunctionCallTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceFunctionDeclarationTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceFunctionExpressionTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceGotoTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceIdentifierTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceIfTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceImportEntryTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceInstanceOfTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceLabeledStatementTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceLineMap不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceLiteralTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceLoopTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceMemberSelectTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceModuleTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceNewTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceObjectLiteralTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceParenthesizedTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceParser不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfacePropertyTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceRegExpLiteralTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceReturnTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。classSimpleTreeVisitorES5_1<R,P>不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。classSimpleTreeVisitorES6<R,P>不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceSpreadTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceStatementTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceSwitchTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceTemplateLiteralTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceThrowTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interface树不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。static classTree.Kind不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceTreeVisitor<R,P>不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceTryTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceUnaryTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。classUnknownTreeException不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceVariableTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceWhileLoopTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceWithTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。interfaceYieldTree不推荐使用,要删除:此API元素将在以后的版本中删除。Nashorn JavaScript脚本引擎和API以及jjs工具已弃用,目的是在将来的版本中删除它们。 -
Uses of 已过时的 in netscape.javascript
Methods in netscape.javascript with annotations of type 已过时的 变量和类型 方法 描述 static JSObjectJSObject. getWindow(Applet applet)已过时。不推荐使用Applet API。 -
Uses of 已过时的 in org.ietf.jgss
Methods in org.ietf.jgss with annotations of type 已过时的 变量和类型 方法 描述 voidGSSContext. acceptSecContext(InputStream inStream, OutputStream outStream)已过时。基于流的方法已从RFC 8353中删除。voidGSSContext. getMIC(InputStream inStream, OutputStream outStream, MessageProp msgProp)已过时。基于流的方法已从RFC 8353中删除。intGSSContext. initSecContext(InputStream inStream, OutputStream outStream)已过时。基于流的方法已从RFC 8353中删除。voidGSSContext. unwrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)已过时。基于流的方法已从RFC 8353中删除。voidGSSContext. verifyMIC(InputStream tokStream, InputStream msgStream, MessageProp msgProp)已过时。基于流的方法已从RFC 8353中删除。voidGSSContext. wrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)已过时。基于流的方法已从RFC 8353中删除。 -
Uses of 已过时的 in org.xml.sax
Classes in org.xml.sax with annotations of type 已过时的 变量和类型 接口 描述 interfaceAttributeList已过时。该接口已被SAX2Attributes接口取代,该接口包含Namespace支持。interfaceDocumentHandler已过时。该接口已被SAX2ContentHandler接口取代,该接口包括Namespace支持。classHandlerBase已过时。此类适用于已弃用的DocumentHandler接口。interfaceParser已过时。该接口已被SAX2XMLReader接口取代,该接口包括Namespace支持。 -
Uses of 已过时的 in org.xml.sax.helpers
Classes in org.xml.sax.helpers with annotations of type 已过时的 变量和类型 类 描述 classAttributeListImpl已过时。该类实现了一个不推荐使用的接口,AttributeList; 该接口已被Attributes取代,该程序在AttributesImpl帮助程序类中实现。classParserFactory已过时。此类适用于不推荐使用的Parser接口。classXMLReaderFactory已过时。建议改用SAXParserFactory。
-