Uses of Class
java.lang.Deprecated
Packages that useDeprecated Package Description com.sun.jarsigner This package comprises the interfaces and classes used to define the signing mechanism used by thejarsignertool.com.sun.java.accessibility.util Provides a collection of interfaces and classes that compose the Java Accessibility Utilities.com.sun.javadoc Note: The declarations in this package have been superseded by thosein the packagejdk.javadoc.doclet.com.sun.jdi This is the core package of the Java Debug Interface (JDI), it defines mirrors for values, types, and the target VirtualMachine itself - as well bootstrapping facilities.com.sun.tools.javadoc This package and its contents are deprecated and may be removed in a future release.java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.color Provides classes for color spaces.java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications.java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components.java.awt.image Provides classes for creating and modifying images.java.awt.image.renderable Provides classes and interfaces for producing rendering-independent images.java.beans Contains classes related to developingbeans -- components based on the JavaBeans™ architecture.java.io Provides for system input and output through data streams, serialization and the file system.java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects.java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal).java.net Provides the classes for implementing networking applications.java.rmi Provides the RMI package.java.rmi.dgc Provides classes and interface for RMI distributedgarbage-collection (DGC).java.rmi.registry Provides a class and two interfaces for the RMI registry.java.rmi.server Provides classes and interfaces for supporting the serverside of RMI.java.security Provides the classes and interfaces for the security framework.java.security.acl The classes and interfaces in this package have been deprecated.java.sql Provides the API for accessing and processing data stored in adata source (usually a relational database) using theJava™ programming language.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.concurrent Utility classes commonly useful in concurrent programming.java.util.concurrent.atomic A small toolkit of classes that support lock-free thread-safe programming on single variables.java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.java.util.logging Provides the classes and interfaces of the Java™ 2 platform's core logging facilities.java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats.javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components.javax.imageio.spi A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry.javax.imageio.stream A package of the Java Image I/O API dealing with low-level I/O from files and streams.javax.lang.model.util Utilities to assist in the processing ofprogram elements andtypes.javax.management Provides the core classes for the Java Management Extensions.javax.management.loading Provides the classes which implement advanced dynamic loading.javax.management.monitor Provides the definition of the monitor classes.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.javax.naming Provides the classes and interfaces for accessing naming services.javax.net.ssl Provides classes for the secure socket package.javax.security.cert Provides classes for public key certificates.javax.sql.rowset Standard interfaces and base classes for JDBCRowSetimplementations.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel.javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamedMetal), which is the default look and feel.javax.swing.plaf.multi Provides user interface objects that combine two or more look and feels.javax.swing.table Provides classes and interfaces for dealing withjavax.swing.JTable.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.javax.swing.text.html Provides the classHTMLEditorKitand supporting classes for creating HTML text editors.javax.swing.tree Provides classes and interfaces for dealing withjavax.swing.JTree.javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers.javax.xml.stream Defines interfaces and classes for the Streaming API for XML (StAX).jdk.nashorn.api.scripting This package provides thejavax.scriptintegration, which is the preferred way to use Nashorn.jdk.nashorn.api.tree Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.netscape.javascript Provides Java code the ability to access the JavaScript engine and the HTML DOM in the web browser.org.ietf.jgss This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API.org.xml.sax Provides the core SAX APIs.org.xml.sax.helpers Provides helper classes, including support for bootstrapping SAX-based applications.Uses ofDeprecated incom.sun.jarsigner
Classes incom.sun.jarsigner with annotations of typeDeprecated Modifier and Type Class Description classContentSignerDeprecated.This class has been deprecated.interfaceContentSignerParametersDeprecated.This class has been deprecated.Uses ofDeprecated incom.sun.java.accessibility.util
Fields incom.sun.java.accessibility.util with annotations of typeDeprecated Modifier and Type Field Description protected staticActionListenerAWTEventMonitor. actionListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticAdjustmentListenerAWTEventMonitor. adjustmentListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticComponentListenerAWTEventMonitor. componentListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticComponentAWTEventMonitor. componentWithFocusDeprecated, for removal: This API element is subject to removal in a future version.This field is unused; to get the component with focus use the getComponentWithFocus method.protected staticContainerListenerAWTEventMonitor. containerListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticFocusListenerAWTEventMonitor. focusListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticItemListenerAWTEventMonitor. itemListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticKeyListenerAWTEventMonitor. keyListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticMouseListenerAWTEventMonitor. mouseListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticMouseMotionListenerAWTEventMonitor. mouseMotionListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticTextListenerAWTEventMonitor. textListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected staticWindowListenerAWTEventMonitor. windowListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.Uses ofDeprecated incom.sun.javadoc
Classes incom.sun.javadoc with annotations of typeDeprecated Modifier and Type Interface Description interfaceAnnotatedTypeDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceAnnotationDescDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.static interfaceAnnotationDesc.ElementValuePairDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceAnnotationTypeDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceAnnotationTypeElementDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceAnnotationValueDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceClassDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceConstructorDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceDocErrorReporterDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.classDocletDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceExecutableMemberDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceFieldDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.classLanguageVersionDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceMemberDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceMethodDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfacePackageDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceParameterDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceParameterizedTypeDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceParamTagDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceProgramElementDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceRootDocDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceSeeTagDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceSerialFieldTagDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceSourcePositionDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceTagDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceThrowsTagDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceTypeDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceTypeVariableDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.interfaceWildcardTypeDeprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet.Methods incom.sun.javadoc with annotations of typeDeprecated Modifier and Type Method Description ClassDoc[]ClassDoc. importedClasses()Deprecated, for removal: This API element is subject to removal in a future version.Import declarations are implementation details that should not be exposed here.PackageDoc[]ClassDoc. importedPackages()Deprecated, for removal: This API element is subject to removal in a future version.Import declarations are implementation details that should not be exposed here.Uses ofDeprecated incom.sun.jdi
Classes incom.sun.jdi with annotations of typeDeprecated Modifier and Type Class Description classInvalidCodeIndexExceptionDeprecated.This exception is no longer thrownclassInvalidLineNumberExceptionDeprecated.This exception is no longer thrownUses ofDeprecated incom.sun.tools.javadoc
Classes incom.sun.tools.javadoc with annotations of typeDeprecated Modifier and Type Class Description classMainDeprecated, for removal: This API element is subject to removal in a future version.This class is now deprecated and may be removed in a future release.Uses ofDeprecated injava.applet
Classes injava.applet with annotations of typeDeprecated Modifier and Type Class Description classAppletDeprecated.The Applet API is deprecated, no replacement.interfaceAppletContextDeprecated.The Applet API is deprecated, no replacement.interfaceAppletStubDeprecated.The Applet API is deprecated, no replacement.interfaceAudioClipDeprecated.The Applet API is deprecated, no replacement.Uses ofDeprecated injava.awt
Classes injava.awt with annotations of typeDeprecated Modifier and Type Class Description classEventDeprecated.It is recommended thatAWTEventand its subclasses be used insteadFields injava.awt with annotations of typeDeprecated Modifier and Type Field Description static intFrame. CROSSHAIR_CURSORDeprecated.replaced byCursor.CROSSHAIR_CURSOR.static intFrame. DEFAULT_CURSORDeprecated.replaced byCursor.DEFAULT_CURSOR.static intFrame. E_RESIZE_CURSORDeprecated.replaced byCursor.E_RESIZE_CURSOR.static intFrame. HAND_CURSORDeprecated.replaced byCursor.HAND_CURSOR.static intFrame. MOVE_CURSORDeprecated.replaced byCursor.MOVE_CURSOR.static intFrame. N_RESIZE_CURSORDeprecated.replaced byCursor.N_RESIZE_CURSOR.static intFrame. NE_RESIZE_CURSORDeprecated.replaced byCursor.NE_RESIZE_CURSOR.static intFrame. NW_RESIZE_CURSORDeprecated.replaced byCursor.NW_RESIZE_CURSOR.protected staticCursor[]Cursor. predefinedDeprecated.As of JDK version 1.7, theCursor.getPredefinedCursor(int)method should be used instead.static intFrame. S_RESIZE_CURSORDeprecated.replaced byCursor.S_RESIZE_CURSOR.static intFrame. SE_RESIZE_CURSORDeprecated.replaced byCursor.SE_RESIZE_CURSOR.static intFrame. SW_RESIZE_CURSORDeprecated.replaced byCursor.SW_RESIZE_CURSOR.static intFrame. TEXT_CURSORDeprecated.replaced byCursor.TEXT_CURSOR.static intFrame. W_RESIZE_CURSORDeprecated.replaced byCursor.W_RESIZE_CURSOR.static intFrame. WAIT_CURSORDeprecated.replaced byCursor.WAIT_CURSOR.Methods injava.awt with annotations of typeDeprecated Modifier and Type Method Description booleanComponent. action(Event evt,Object what)Deprecated.As of JDK version 1.1, should register this component as ActionListener on component which fires action events.voidList. addItem(String item)Deprecated.replaced byadd(String).voidList. addItem(String item, int index)Deprecated.replaced byadd(String, int).voidBorderLayout. addLayoutComponent(String name,Component comp)Deprecated.replaced byaddLayoutComponent(Component, Object).voidCardLayout. addLayoutComponent(String name,Component comp)Deprecated.replaced byaddLayoutComponent(Component, Object).booleanList. allowsMultipleSelections()Deprecated.As of JDK version 1.1, replaced byisMultipleMode().voidTextArea. appendText(String str)Deprecated.As of JDK version 1.1, replaced byappend(String).voidWindow. applyResourceBundle(String rbName)Deprecated.As of J2SE 1.4, replaced byComponent.applyComponentOrientation.voidWindow. applyResourceBundle(ResourceBundle rb)Deprecated.As of J2SE 1.4, replaced byComponent.applyComponentOrientation.RectangleComponent. bounds()Deprecated.As of JDK version 1.1, replaced bygetBounds().voidList. clear()Deprecated.As of JDK version 1.1, replaced byremoveAll().intContainer. countComponents()Deprecated.As of JDK version 1.1, replaced by getComponentCount().intChoice. countItems()Deprecated.As of JDK version 1.1, replaced bygetItemCount().intList. countItems()Deprecated.As of JDK version 1.1, replaced bygetItemCount().intMenu. countItems()Deprecated.As of JDK version 1.1, replaced bygetItemCount().intMenuBar. countMenus()Deprecated.As of JDK version 1.1, replaced bygetMenuCount().voidList. delItem(int position)Deprecated.replaced byremove(String)andremove(int).voidList. delItems(int start, int end)Deprecated.As of JDK version 1.1, Not for public use in the future.voidComponent. deliverEvent(Event e)Deprecated.As of JDK version 1.1, replaced bydispatchEvent(AWTEvent e).voidContainer. deliverEvent(Event e)Deprecated.As of JDK version 1.1, replaced bydispatchEvent(AWTEvent e)voidComponent. disable()Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean).voidMenuItem. disable()Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean).voidComponent. enable()Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean).voidComponent. enable(boolean b)Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean).voidMenuItem. enable()Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean).voidMenuItem. enable(boolean b)Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean).voidGraphics. finalize()Deprecated.Thefinalizemethod has been deprecated.voidPrintJob. finalize()Deprecated.Thefinalizemethod has been deprecated.RectanglePolygon. getBoundingBox()Deprecated.As of JDK version 1.1, replaced bygetBounds().RectangleGraphics. getClipRect()Deprecated.As of JDK version 1.1, replaced bygetClipBounds().CheckboxCheckboxGroup. getCurrent()Deprecated.As of JDK version 1.1, replaced bygetSelectedCheckbox().intFrame. getCursorType()Deprecated.As of JDK version 1.1, replaced byComponent.getCursor().abstractString[]Toolkit. getFontList()Deprecated.abstractFontMetricsToolkit. getFontMetrics(Font font)Deprecated.As of JDK version 1.2, replaced by theFontmethodgetLineMetrics.intScrollbar. getLineIncrement()Deprecated.As of JDK version 1.1, replaced bygetUnitIncrement().intFontMetrics. getMaxDecent()Deprecated.As of JDK version 1.1.1, replaced bygetMaxDescent().intToolkit. getMenuShortcutKeyMask()Deprecated.It is recommended that extended modifier keys andToolkit.getMenuShortcutKeyMaskEx()be used insteadstaticComponentOrientationComponentOrientation. getOrientation(ResourceBundle bdl)Deprecated.As of J2SE 1.4, useComponentOrientation.getOrientation(java.util.Locale).intScrollbar. getPageIncrement()Deprecated.As of JDK version 1.1, replaced bygetBlockIncrement().intScrollbar. getVisible()Deprecated.As of JDK version 1.1, replaced bygetVisibleAmount().booleanComponent. gotFocus(Event evt,Object what)Deprecated.As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).booleanComponent. handleEvent(Event evt)Deprecated.As of JDK version 1.1 replaced by processEvent(AWTEvent).voidComponent. hide()Deprecated.As of JDK version 1.1, replaced bysetVisible(boolean).voidDialog. hide()Deprecated.As of JDK version 1.5, replaced bysetVisible(boolean).voidWindow. hide()Deprecated.As of JDK version 1.5, replaced byWindow.setVisible(boolean).voidTextArea. insertText(String str, int pos)Deprecated.As of JDK version 1.1, replaced byinsert(String, int).InsetsContainer. insets()Deprecated.As of JDK version 1.1, replaced bygetInsets().booleanComponent. inside(int x, int y)Deprecated.As of JDK version 1.1, replaced by contains(int, int).booleanPolygon. inside(int x, int y)Deprecated.As of JDK version 1.1, replaced bycontains(int, int).booleanRectangle. inside(int X, int Y)Deprecated.As of JDK version 1.1, replaced bycontains(int, int).booleanComponent. isFocusTraversable()Deprecated.As of 1.4, replaced byisFocusable().booleanList. isSelected(int index)Deprecated.As of JDK version 1.1, replaced byisIndexSelected(int).booleanComponent. keyDown(Event evt, int key)Deprecated.As of JDK version 1.1, replaced by processKeyEvent(KeyEvent).booleanComponent. keyUp(Event evt, int key)Deprecated.As of JDK version 1.1, replaced by processKeyEvent(KeyEvent).voidComponent. layout()Deprecated.As of JDK version 1.1, replaced bydoLayout().voidContainer. layout()Deprecated.As of JDK version 1.1, replaced bydoLayout().voidScrollPane. layout()Deprecated.As of JDK version 1.1, replaced bydoLayout().ComponentComponent. locate(int x, int y)Deprecated.As of JDK version 1.1, replaced by getComponentAt(int, int).ComponentContainer. locate(int x, int y)Deprecated.As of JDK version 1.1, replaced bygetComponentAt(int, int).PointComponent. location()Deprecated.As of JDK version 1.1, replaced bygetLocation().booleanComponent. lostFocus(Event evt,Object what)Deprecated.As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).DimensionComponent. minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().DimensionContainer. minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().DimensionList. minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().DimensionList. minimumSize(int rows)Deprecated.As of JDK version 1.1, replaced bygetMinimumSize(int).DimensionTextArea. minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().DimensionTextArea. minimumSize(int rows, int columns)Deprecated.As of JDK version 1.1, replaced bygetMinimumSize(int, int).DimensionTextField. minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().DimensionTextField. minimumSize(int columns)Deprecated.As of JDK version 1.1, replaced bygetMinimumSize(int).booleanComponent. mouseDown(Event evt, int x, int y)Deprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).booleanComponent. mouseDrag(Event evt, int x, int y)Deprecated.As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent).booleanComponent. mouseEnter(Event evt, int x, int y)Deprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).booleanComponent. mouseExit(Event evt, int x, int y)Deprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).booleanComponent. mouseMove(Event evt, int x, int y)Deprecated.As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent).booleanComponent. mouseUp(Event evt, int x, int y)Deprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).voidComponent. move(int x, int y)Deprecated.As of JDK version 1.1, replaced bysetLocation(int, int).voidRectangle. move(int x, int y)Deprecated.As of JDK version 1.1, replaced bysetLocation(int, int).voidComponent. nextFocus()Deprecated.As of JDK version 1.1, replaced by transferFocus().booleanComponent. postEvent(Event e)Deprecated.As of JDK version 1.1, replaced by dispatchEvent(AWTEvent).booleanMenuComponent. postEvent(Event evt)Deprecated.As of JDK version 1.1, replaced bydispatchEvent.booleanMenuContainer. postEvent(Event evt)Deprecated.As of JDK version 1.1 replaced by dispatchEvent(AWTEvent).booleanWindow. postEvent(Event e)Deprecated.As of JDK version 1.1 replaced bydispatchEvent(AWTEvent).DimensionComponent. preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().DimensionContainer. preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().DimensionList. preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().DimensionList. preferredSize(int rows)Deprecated.As of JDK version 1.1, replaced bygetPreferredSize(int).DimensionTextArea. preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().DimensionTextArea. preferredSize(int rows, int columns)Deprecated.As of JDK version 1.1, replaced bygetPreferredSize(int, int).DimensionTextField. preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().DimensionTextField. preferredSize(int columns)Deprecated.As of JDK version 1.1, replaced bygetPreferredSize(int).protected static voidAWTKeyStroke. registerSubclass(Class<?> subclass)Deprecated.voidTextArea. replaceText(String str, int start, int end)Deprecated.As of JDK version 1.1, replaced byreplaceRange(String, int, int).voidComponent. reshape(int x, int y, int width, int height)Deprecated.As of JDK version 1.1, replaced bysetBounds(int, int, int, int).voidRectangle. reshape(int x, int y, int width, int height)Deprecated.As of JDK version 1.1, replaced bysetBounds(int, int, int, int).voidWindow. reshape(int x, int y, int width, int height)Deprecated.As of JDK version 1.1, replaced bysetBounds(int, int, int, int).voidComponent. resize(int width, int height)Deprecated.As of JDK version 1.1, replaced bysetSize(int, int).voidComponent. resize(Dimension d)Deprecated.As of JDK version 1.1, replaced bysetSize(Dimension).voidRectangle. resize(int width, int height)Deprecated.As of JDK version 1.1, replaced bysetSize(int, int).voidCheckboxGroup. setCurrent(Checkbox box)Deprecated.As of JDK version 1.1, replaced bysetSelectedCheckbox(Checkbox).voidFrame. setCursor(int cursorType)Deprecated.As of JDK version 1.1, replaced byComponent.setCursor(Cursor).voidTextField. setEchoCharacter(char c)Deprecated.As of JDK version 1.1, replaced bysetEchoChar(char).voidScrollbar. setLineIncrement(int v)Deprecated.As of JDK version 1.1, replaced bysetUnitIncrement(int).voidList. setMultipleSelections(boolean b)Deprecated.As of JDK version 1.1, replaced bysetMultipleMode(boolean).voidScrollbar. setPageIncrement(int v)Deprecated.As of JDK version 1.1, replaced bysetBlockIncrement().voidComponent. show()Deprecated.As of JDK version 1.1, replaced bysetVisible(boolean).voidComponent. show(boolean b)Deprecated.As of JDK version 1.1, replaced bysetVisible(boolean).voidDialog. show()Deprecated.As of JDK version 1.5, replaced bysetVisible(boolean).voidWindow. show()Deprecated.As of JDK version 1.5, replaced byWindow.setVisible(boolean).DimensionComponent. size()Deprecated.As of JDK version 1.1, replaced bygetSize().Constructors injava.awt with annotations of typeDeprecated Constructor Description AWTEvent(Event event)Deprecated.It is recommended thatAWTEvent(Object, int)be used insteadUses ofDeprecated injava.awt.color
Methods injava.awt.color with annotations of typeDeprecated Modifier and Type Method Description protected voidICC_Profile. finalize()Deprecated.Thefinalizemethod has been deprecated.Uses ofDeprecated injava.awt.datatransfer
Fields injava.awt.datatransfer with annotations of typeDeprecated Modifier and Type Field Description staticDataFlavorDataFlavor. plainTextFlavorDeprecated.as of 1.3.Methods injava.awt.datatransfer with annotations of typeDeprecated Modifier and Type Method Description booleanDataFlavor. equals(String s)Deprecated.As inconsistent withhashCode()contract, useDataFlavor.isMimeTypeEqual(String)instead.protectedStringDataFlavor. normalizeMimeType(String mimeType)Deprecated.This method is never invoked by this implementation from 1.1 onwardsprotectedStringDataFlavor. normalizeMimeTypeParameter(String parameterName,String parameterValue)Deprecated.This method is never invoked by this implementation from 1.1 onwardsUses ofDeprecated injava.awt.event
Fields injava.awt.event with annotations of typeDeprecated Modifier and Type Field Description static intInputEvent. ALT_GRAPH_MASKDeprecated.It is recommended that ALT_GRAPH_DOWN_MASK andInputEvent.getModifiersEx()be used insteadstatic intInputEvent. ALT_MASKDeprecated.It is recommended that ALT_DOWN_MASK andInputEvent.getModifiersEx()be used insteadstatic intInputEvent. BUTTON1_MASKDeprecated.It is recommended that BUTTON1_DOWN_MASK andInputEvent.getModifiersEx()be used insteadstatic intInputEvent. BUTTON2_MASKDeprecated.It is recommended that BUTTON2_DOWN_MASK andInputEvent.getModifiersEx()be used instead.static intInputEvent. BUTTON3_MASKDeprecated.It is recommended that BUTTON3_DOWN_MASK andInputEvent.getModifiersEx()be used instead.static intInputEvent. CTRL_MASKDeprecated.It is recommended that CTRL_DOWN_MASK andInputEvent.getModifiersEx()be used insteadstatic intInputEvent. META_MASKDeprecated.It is recommended that META_DOWN_MASK andInputEvent.getModifiersEx()be used insteadstatic intInputEvent. SHIFT_MASKDeprecated.It is recommended that SHIFT_DOWN_MASK andInputEvent.getModifiersEx()be used insteadMethods injava.awt.event with annotations of typeDeprecated Modifier and Type Method Description staticStringKeyEvent. getKeyModifiersText(int modifiers)Deprecated.It is recommended that extended modifier keys andInputEvent.getModifiersExText(int)be used insteadintInputEvent. getModifiers()Deprecated.It is recommended that extended modifier keys andInputEvent.getModifiersEx()be used insteadvoidKeyEvent. setModifiers(int modifiers)Deprecated.as of JDK1.1.4Constructors injava.awt.event with annotations of typeDeprecated Constructor Description KeyEvent(Component source, int id, long when, int modifiers, int keyCode)Deprecated.as of JDK1.1; useKeyEvent(Component, int, long, int, int, char)insteadUses ofDeprecated injava.awt.image
Methods injava.awt.image with annotations of typeDeprecated Modifier and Type Method Description voidColorModel. finalize()Deprecated.Thefinalizemethod has been deprecated.voidIndexColorModel. finalize()Deprecated.Thefinalizemethod has been deprecated.Uses ofDeprecated injava.awt.image.renderable
Methods injava.awt.image.renderable with annotations of typeDeprecated Modifier and Type Method Description voidRenderContext. concetenateTransform(AffineTransform modTransform)Deprecated.replaced byconcatenateTransform(AffineTransform).voidRenderContext. preConcetenateTransform(AffineTransform modTransform)Deprecated.replaced bypreConcatenateTransform(AffineTransform).Uses ofDeprecated injava.beans
Classes injava.beans with annotations of typeDeprecated Modifier and Type Interface Description interfaceAppletInitializerDeprecated.The Applet API is deprecated.Methods injava.beans with annotations of typeDeprecated Modifier and Type Method Description staticObjectBeans. instantiate(ClassLoader cls,String beanName,BeanContext beanContext,AppletInitializer initializer)Deprecated.It is recommended to useBeans.instantiate(ClassLoader, String, BeanContext), because the Applet API is deprecated.Uses ofDeprecated injava.io
Classes injava.io with annotations of typeDeprecated Modifier and Type Class Description classLineNumberInputStreamDeprecated.This class incorrectly assumes that bytes adequately represent characters.classStringBufferInputStreamDeprecated.This class does not properly convert characters into bytes.Methods injava.io with annotations of typeDeprecated Modifier and Type Method Description protected voidFileInputStream. finalize()Deprecated, for removal: This API element is subject to removal in a future version.Thefinalizemethod has been deprecated and will be removed.protected voidFileOutputStream. finalize()Deprecated, for removal: This API element is subject to removal in a future version.Thefinalizemethod has been deprecated and will be removed.StringDataInputStream. readLine()Deprecated.This method does not properly convert bytes to characters.StringObjectInputStream. readLine()Deprecated.This method does not properly convert bytes to characters.StringByteArrayOutputStream. toString(int hibyte)Deprecated.This method does not properly convert bytes into characters.URLFile. toURL()Deprecated.This method does not automatically escape characters that are illegal in URLs.abstract voidObjectOutputStream.PutField. write(ObjectOutput out)Deprecated.This method does not write the values contained by thisPutFieldobject in a proper format, and may result in corruption of the serialization stream.Constructors injava.io with annotations of typeDeprecated Constructor Description StreamTokenizer(InputStream is)Deprecated.As of JDK version 1.1, the preferred way to tokenize an input stream is to convert it into a character stream, for example:Uses ofDeprecated injava.lang
Classes injava.lang with annotations of typeDeprecated Modifier and Type Class Description classCompilerDeprecated, for removal: This API element is subject to removal in a future version.JIT compilers and their technologies vary too widely to be controlled effectively by a standardized interface.Fields injava.lang with annotations of typeDeprecated Modifier and Type Field Description staticCharacter.UnicodeBlockCharacter.UnicodeBlock. SURROGATES_AREADeprecated.Instead ofSURROGATES_AREA, useCharacter.UnicodeBlock.HIGH_SURROGATES,Character.UnicodeBlock.HIGH_PRIVATE_USE_SURROGATES, andCharacter.UnicodeBlock.LOW_SURROGATES.Methods injava.lang with annotations of typeDeprecated Modifier and Type Method Description booleanThreadGroup. allowThreadSuspension(boolean b)Deprecated.The definition of this call depends onThreadGroup.suspend(), which is deprecated.voidSecurityManager. checkMulticast(InetAddress maddr, byte ttl)Deprecated.Use #checkPermission(java.security.Permission) insteadintThread. countStackFrames()Deprecated, for removal: This API element is subject to removal in a future version.The definition of this call depends onThread.suspend(), which is deprecated.protectedClass<?>ClassLoader. defineClass(byte[] b, int off, int len)Deprecated.Replaced bydefineClass(String, byte[], int, int)protected voidObject. finalize()Deprecated.The finalization mechanism is inherently problematic.voidString. getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin)Deprecated.This method does not properly convert characters into bytes.protectedPackageClassLoader. getPackage(String name)Deprecated.If multiple class loaders delegate to each other and define classes with the same package name, and one such loader relies on the lookup behavior ofgetPackageto return aPackagefrom a parent loader, then the properties exposed by thePackagemay not be as expected in the rest of the program.staticPackagePackage. getPackage(String name)Deprecated.If multiple class loaders delegate to each other and define classes with the same package name, and one such loader relies on the lookup behavior ofgetPackageto return aPackagefrom a parent loader, then the properties exposed by thePackagemay not be as expected in the rest of the program.static booleanCharacter. isJavaLetter(char ch)Deprecated.Replaced by isJavaIdentifierStart(char).static booleanCharacter. isJavaLetterOrDigit(char ch)Deprecated.Replaced by isJavaIdentifierPart(char).static booleanCharacter. isSpace(char ch)Deprecated.Replaced by isWhitespace(char).intRuntime.Version. major()Deprecated.As of Java SE 10, the first element of a version number is not the major-release number but the feature-release counter, incremented for every time-based release.intRuntime.Version. minor()Deprecated.As of Java SE 10, the second element of a version number is not the minor-release number but the interim-release counter, incremented for every interim release.TClass. newInstance()Deprecated.This method propagates any exception thrown by the nullary constructor, including a checked exception.voidThread. resume()Deprecated.This method exists solely for use withThread.suspend(), which has been deprecated because it is deadlock-prone.voidThreadGroup. resume()Deprecated.This method is used solely in conjunction withThread.suspendandThreadGroup.suspend, both of which have been deprecated, as they are inherently deadlock-prone.intRuntime.Version. security()Deprecated.As of Java SE 10, the third element of a version number is not the security level but the update-release counter, incremented for every update release.voidThread. stop()Deprecated.This method is inherently unsafe.voidThreadGroup. stop()Deprecated.This method is inherently unsafe.voidThread. suspend()Deprecated.This method has been deprecated, as it is inherently deadlock-prone.voidThreadGroup. suspend()Deprecated.This method is inherently deadlock-prone.voidRuntime. traceInstructions(boolean on)Deprecated, for removal: This API element is subject to removal in a future version.This method was intended to control instruction tracing.voidRuntime. traceMethodCalls(boolean on)Deprecated, for removal: This API element is subject to removal in a future version.This method was intended to control method call tracing.Constructors injava.lang with annotations of typeDeprecated Constructor Description Boolean(boolean value)Deprecated.It is rarely appropriate to use this constructor.Boolean(String s)Deprecated.It is rarely appropriate to use this constructor.Byte(byte value)Deprecated.It is rarely appropriate to use this constructor.Byte(String s)Deprecated.It is rarely appropriate to use this constructor.Character(char value)Deprecated.It is rarely appropriate to use this constructor.Double(double value)Deprecated.It is rarely appropriate to use this constructor.Double(String s)Deprecated.It is rarely appropriate to use this constructor.Float(double value)Deprecated.It is rarely appropriate to use this constructor.Float(float value)Deprecated.It is rarely appropriate to use this constructor.Float(String s)Deprecated.It is rarely appropriate to use this constructor.Integer(int value)Deprecated.It is rarely appropriate to use this constructor.Integer(String s)Deprecated.It is rarely appropriate to use this constructor.Long(long value)Deprecated.It is rarely appropriate to use this constructor.Long(String s)Deprecated.It is rarely appropriate to use this constructor.Short(short value)Deprecated.It is rarely appropriate to use this constructor.Short(String s)Deprecated.It is rarely appropriate to use this constructor.String(byte[] ascii, int hibyte)Deprecated.This method does not properly convert bytes into characters.String(byte[] ascii, int hibyte, int offset, int count)Deprecated.This method does not properly convert bytes into characters.Uses ofDeprecated injava.lang.reflect
Methods injava.lang.reflect with annotations of typeDeprecated Modifier and Type Method Description staticClass<?>Proxy. getProxyClass(ClassLoader loader,Class<?>... interfaces)Deprecated.Proxy classes generated in a named module are encapsulated and not accessible to code outside its module.booleanAccessibleObject. isAccessible()Deprecated.This method is deprecated because its name hints that it checks if the reflected object is accessible when it actually indicates if the checks for Java language access control are suppressed.Uses ofDeprecated injava.math
Fields injava.math with annotations of typeDeprecated Modifier and Type Field Description static intBigDecimal. ROUND_CEILINGDeprecated.UseRoundingMode.CEILINGinstead.static intBigDecimal. ROUND_DOWNDeprecated.UseRoundingMode.DOWNinstead.static intBigDecimal. ROUND_FLOORDeprecated.UseRoundingMode.FLOORinstead.static intBigDecimal. ROUND_HALF_DOWNDeprecated.UseRoundingMode.HALF_DOWNinstead.static intBigDecimal. ROUND_HALF_EVENDeprecated.UseRoundingMode.HALF_EVENinstead.static intBigDecimal. ROUND_HALF_UPDeprecated.UseRoundingMode.HALF_UPinstead.static intBigDecimal. ROUND_UNNECESSARYDeprecated.UseRoundingMode.UNNECESSARYinstead.static intBigDecimal. ROUND_UPDeprecated.UseRoundingMode.UPinstead.Methods injava.math with annotations of typeDeprecated Modifier and Type Method Description BigDecimalBigDecimal. divide(BigDecimal divisor, int roundingMode)Deprecated.The methodBigDecimal.divide(BigDecimal, RoundingMode)should be used in preference to this legacy method.BigDecimalBigDecimal. divide(BigDecimal divisor, int scale, int roundingMode)Deprecated.The methodBigDecimal.divide(BigDecimal, int, RoundingMode)should be used in preference to this legacy method.BigDecimalBigDecimal. setScale(int newScale, int roundingMode)Deprecated.The methodBigDecimal.setScale(int, RoundingMode)should be used in preference to this legacy method.Uses ofDeprecated injava.net
Fields injava.net with annotations of typeDeprecated Modifier and Type Field Description static intHttpURLConnection. HTTP_SERVER_ERRORDeprecated.it is misplaced and shouldn't have existed.Methods injava.net with annotations of typeDeprecated Modifier and Type Method Description staticStringURLDecoder. decode(String s)Deprecated.The resulting string may vary depending on the platform's default encoding.staticStringURLEncoder. encode(String s)Deprecated.The resulting string may vary depending on the platform's default encoding.staticStringURLConnection. getDefaultRequestProperty(String key)Deprecated.The instance specific getRequestProperty method should be used after an appropriate instance of URLConnection is obtained.protected abstract byteDatagramSocketImpl. getTTL()Deprecated.use getTimeToLive instead.byteMulticastSocket. getTTL()Deprecated.use the getTimeToLive method instead, which returns anint instead of abyte.voidMulticastSocket. send(DatagramPacket p, byte ttl)Deprecated.Use the following code or its equivalent instead: ......static voidURLConnection. setDefaultRequestProperty(String key,String value)Deprecated.The instance specific setRequestProperty method should be used after an appropriate instance of URLConnection is obtained.protected abstract voidDatagramSocketImpl. setTTL(byte ttl)Deprecated.use setTimeToLive instead.voidMulticastSocket. setTTL(byte ttl)Deprecated.use the setTimeToLive method instead, which usesint instead ofbyte as the type for ttl.protected voidURLStreamHandler. setURL(URL u,String protocol,String host, int port,String file,String ref)Deprecated.Use setURL(URL, String, String, int, String, String, String, String);Constructors injava.net with annotations of typeDeprecated Constructor Description Socket(String host, int port, boolean stream)Deprecated.Use DatagramSocket instead for UDP transport.Socket(InetAddress host, int port, boolean stream)Deprecated.Use DatagramSocket instead for UDP transport.Uses ofDeprecated injava.rmi
Classes injava.rmi with annotations of typeDeprecated Modifier and Type Class Description classRMISecurityExceptionDeprecated.UseSecurityExceptioninstead.classRMISecurityManagerDeprecated.UseSecurityManagerinstead.classServerRuntimeExceptionDeprecated.no replacementConstructors injava.rmi with annotations of typeDeprecated Constructor Description RMISecurityException(String name)Deprecated.no replacementRMISecurityException(String name,String arg)Deprecated.no replacementServerRuntimeException(String s,Exception ex)Deprecated.no replacementUses ofDeprecated injava.rmi.dgc
Methods injava.rmi.dgc with annotations of typeDeprecated Modifier and Type Method Description static booleanVMID. isUnique()Deprecated.Uses ofDeprecated injava.rmi.registry
Classes injava.rmi.registry with annotations of typeDeprecated Modifier and Type Interface Description interfaceRegistryHandlerDeprecated.no replacementMethods injava.rmi.registry with annotations of typeDeprecated Modifier and Type Method Description RegistryRegistryHandler. registryImpl(int port)Deprecated.no replacement.RegistryRegistryHandler. registryStub(String host, int port)Deprecated.no replacement.Uses ofDeprecated injava.rmi.server
Classes injava.rmi.server with annotations of typeDeprecated Modifier and Type Interface Description interfaceLoaderHandlerDeprecated.no replacementclassLogStreamDeprecated.no replacementclassOperationDeprecated.no replacementinterfaceRemoteCallDeprecated.no replacement.classRemoteStubDeprecated.Statically generated stubs are deprecated, since stubs are generated dynamically.interfaceServerRefDeprecated.No replacement.interfaceSkeletonDeprecated.no replacement.classSkeletonMismatchExceptionDeprecated.no replacement.classSkeletonNotFoundExceptionDeprecated.no replacement.classSocketSecurityExceptionDeprecated.This class is obsolete.Methods injava.rmi.server with annotations of typeDeprecated Modifier and Type Method Description voidSkeleton. dispatch(Remote obj,RemoteCall theCall, int opnum, long hash)Deprecated.no replacementvoidRemoteCall. done()Deprecated.no replacementvoidRemoteRef. done(RemoteCall call)Deprecated.1.2 style stubs no longer use this method.voidRemoteCall. executeCall()Deprecated.no replacementstaticRemoteStubUnicastRemoteObject. exportObject(Remote obj)Deprecated.This method is deprecated because it supports only static stubs.staticPrintStreamLogStream. getDefaultStream()Deprecated.no replacementObjectInputRemoteCall. getInputStream()Deprecated.no replacementStringOperation. getOperation()Deprecated.no replacementOperation[]Skeleton. getOperations()Deprecated.no replacementOutputStreamLogStream. getOutputStream()Deprecated.no replacementObjectOutputRemoteCall. getOutputStream()Deprecated.no replacementObjectOutputRemoteCall. getResultStream(boolean success)Deprecated.no replacementObjectLoaderHandler. getSecurityContext(ClassLoader loader)Deprecated.no replacementstaticObjectRMIClassLoader. getSecurityContext(ClassLoader loader)Deprecated.no replacement.voidRemoteRef. invoke(RemoteCall call)Deprecated.1.2 style stubs no longer use this method.Class<?>LoaderHandler. loadClass(String name)Deprecated.no replacementClass<?>LoaderHandler. loadClass(URL codebase,String name)Deprecated.no replacementstaticClass<?>RMIClassLoader. loadClass(String name)Deprecated.replaced byloadClass(String,String)methodstaticLogStreamLogStream. log(String name)Deprecated.no replacementRemoteCallRemoteRef. newCall(RemoteObject obj,Operation[] op, int opnum, long hash)Deprecated.1.2 style stubs no longer use this method.static intLogStream. parseLevel(String s)Deprecated.no replacementvoidRemoteCall. releaseInputStream()Deprecated.no replacementvoidRemoteCall. releaseOutputStream()Deprecated.no replacementstatic voidLogStream. setDefaultStream(PrintStream newDefault)Deprecated.no replacementvoidLogStream. setOutputStream(OutputStream out)Deprecated.no replacementprotected static voidRemoteStub. setRef(RemoteStub stub,RemoteRef ref)Deprecated.No replacement.StringLogStream. toString()Deprecated.no replacementStringOperation. toString()Deprecated.no replacementvoidLogStream. write(byte[] b, int off, int len)Deprecated.no replacementvoidLogStream. write(int b)Deprecated.no replacementConstructors injava.rmi.server with annotations of typeDeprecated Constructor Description Operation(String op)Deprecated.no replacementSkeletonMismatchException(String s)Deprecated.no replacementUses ofDeprecated injava.security
Classes injava.security with annotations of typeDeprecated Modifier and Type Interface Description interfaceCertificateDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.classIdentityDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.classIdentityScopeDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.classSignerDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.Methods injava.security with annotations of typeDeprecated Modifier and Type Method Description protected abstractObjectSignatureSpi. engineGetParameter(String param)Deprecated.protected abstract voidSignatureSpi. engineSetParameter(String param,Object value)Deprecated.Replaced byengineSetParameter.staticStringSecurity. getAlgorithmProperty(String algName,String propName)Deprecated.This method used to return the value of a proprietary property in the master file of the "SUN" Cryptographic Service Provider in order to determine how to parse algorithm-specific parameters.ObjectSignature. getParameter(String param)Deprecated.doubleProvider. getVersion()Deprecated.useProvider.getVersionStr()instead.voidSignature. setParameter(String param,Object value)Deprecated.UsesetParameter.Constructors injava.security with annotations of typeDeprecated Constructor Description AuthProvider(String name, double version,String info)Deprecated.useAuthProvider(String, String, String)instead.Provider(String name, double version,String info)Deprecated.useProvider(String, String, String)instead.Uses ofDeprecated injava.security.acl
Classes injava.security.acl with annotations of typeDeprecated Modifier and Type Interface Description interfaceAclDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.interfaceAclEntryDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.classAclNotFoundExceptionDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.interfaceGroupDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.classLastOwnerExceptionDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.classNotOwnerExceptionDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.interfaceOwnerDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.interfacePermissionDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.Uses ofDeprecated injava.sql
Methods injava.sql with annotations of typeDeprecated Modifier and Type Method Description BigDecimalCallableStatement. getBigDecimal(int parameterIndex, int scale)Deprecated.usegetBigDecimal(int parameterIndex)orgetBigDecimal(String parameterName)BigDecimalResultSet. getBigDecimal(int columnIndex, int scale)Deprecated.UsegetBigDecimal(int columnIndex)orgetBigDecimal(String columnLabel)BigDecimalResultSet. getBigDecimal(String columnLabel, int scale)Deprecated.UsegetBigDecimal(int columnIndex)orgetBigDecimal(String columnLabel)intTime. getDate()Deprecated.intTime. getDay()Deprecated.intDate. getHours()Deprecated.staticPrintStreamDriverManager. getLogStream()Deprecated.UsegetLogWriterintDate. getMinutes()Deprecated.intTime. getMonth()Deprecated.intDate. getSeconds()Deprecated.InputStreamResultSet. getUnicodeStream(int columnIndex)Deprecated.usegetCharacterStreamin place ofgetUnicodeStreamInputStreamResultSet. getUnicodeStream(String columnLabel)Deprecated.usegetCharacterStreaminsteadintTime. getYear()Deprecated.voidTime. setDate(int i)Deprecated.voidDate. setHours(int i)Deprecated.static voidDriverManager. setLogStream(PrintStream out)Deprecated.UsesetLogWritervoidDate. setMinutes(int i)Deprecated.voidTime. setMonth(int i)Deprecated.voidDate. setSeconds(int i)Deprecated.voidPreparedStatement. setUnicodeStream(int parameterIndex,InputStream x, int length)Deprecated.UsesetCharacterStreamvoidTime. setYear(int i)Deprecated.Constructors injava.sql with annotations of typeDeprecated Constructor Description Date(int year, int month, int day)Deprecated.instead use the constructorDate(long date)Time(int hour, int minute, int second)Deprecated.Use the constructor that takes a milliseconds value in place of this constructorTimestamp(int year, int month, int date, int hour, int minute, int second, int nano)Deprecated.instead use the constructorTimestamp(long millis)Uses ofDeprecated injava.util
Classes injava.util with annotations of typeDeprecated Modifier and Type Class Description classObservableDeprecated.This class and theObserverinterface have been deprecated.interfaceObserverDeprecated.This interface has been deprecated.Methods injava.util with annotations of typeDeprecated Modifier and Type Method Description intDate. getDate()Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.DAY_OF_MONTH).intDate. getDay()Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.DAY_OF_WEEK).intDate. getHours()Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.HOUR_OF_DAY).intDate. getMinutes()Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.MINUTE).intDate. getMonth()Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.MONTH).intDate. getSeconds()Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.SECOND).intDate. getTimezoneOffset()Deprecated.As of JDK version 1.1, replaced by-(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / (60 * 1000).intDate. getYear()Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.YEAR) - 1900.static longDate. parse(String s)Deprecated.As of JDK version 1.1, replaced byDateFormat.parse(String s).voidProperties. save(OutputStream out,String comments)Deprecated.This method does not throw an IOException if an I/O error occurs while saving the property list.voidDate. setDate(int date)Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.DAY_OF_MONTH, int date).voidDate. setHours(int hours)Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.HOUR_OF_DAY, int hours).voidDate. setMinutes(int minutes)Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.MINUTE, int minutes).voidDate. setMonth(int month)Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.MONTH, int month).voidDate. setSeconds(int seconds)Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.SECOND, int seconds).voidDate. setYear(int year)Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.YEAR, year + 1900).StringDate. toGMTString()Deprecated.As of JDK version 1.1, replaced byDateFormat.format(Date date), using a GMTTimeZone.StringDate. toLocaleString()Deprecated.As of JDK version 1.1, replaced byDateFormat.format(Date date).static longDate. UTC(int year, int month, int date, int hrs, int min, int sec)Deprecated.As of JDK version 1.1, replaced byCalendar.set(year + 1900, month, date, hrs, min, sec)orGregorianCalendar(year + 1900, month, date, hrs, min, sec), using a UTCTimeZone, followed byCalendar.getTime().getTime().Constructors injava.util with annotations of typeDeprecated Constructor Description Date(int year, int month, int date)Deprecated.As of JDK version 1.1, replaced byCalendar.set(year + 1900, month, date)orGregorianCalendar(year + 1900, month, date).Date(int year, int month, int date, int hrs, int min)Deprecated.As of JDK version 1.1, replaced byCalendar.set(year + 1900, month, date, hrs, min)orGregorianCalendar(year + 1900, month, date, hrs, min).Date(int year, int month, int date, int hrs, int min, int sec)Deprecated.As of JDK version 1.1, replaced byCalendar.set(year + 1900, month, date, hrs, min, sec)orGregorianCalendar(year + 1900, month, date, hrs, min, sec).Date(String s)Deprecated.As of JDK version 1.1, replaced byDateFormat.parse(String s).Uses ofDeprecated injava.util.concurrent
Methods injava.util.concurrent with annotations of typeDeprecated Modifier and Type Method Description protected voidThreadPoolExecutor. finalize()Deprecated.Uses ofDeprecated injava.util.concurrent.atomic
Methods injava.util.concurrent.atomic with annotations of typeDeprecated Modifier and Type Method Description booleanAtomicBoolean. weakCompareAndSet(boolean expectedValue, boolean newValue)Deprecated.This method has plain memory effects but the method name implies volatile memory effects (see methods such asAtomicBoolean.compareAndExchange(boolean, boolean)andAtomicBoolean.compareAndSet(boolean, boolean)).booleanAtomicInteger. weakCompareAndSet(int expectedValue, int newValue)Deprecated.This method has plain memory effects but the method name implies volatile memory effects (see methods such asAtomicInteger.compareAndExchange(int, int)andAtomicInteger.compareAndSet(int, int)).booleanAtomicIntegerArray. weakCompareAndSet(int i, int expectedValue, int newValue)Deprecated.This method has plain memory effects but the method name implies volatile memory effects (see methods such asAtomicIntegerArray.compareAndExchange(int, int, int)andAtomicIntegerArray.compareAndSet(int, int, int)).booleanAtomicLong. weakCompareAndSet(long expectedValue, long newValue)Deprecated.This method has plain memory effects but the method name implies volatile memory effects (see methods such asAtomicLong.compareAndExchange(long, long)andAtomicLong.compareAndSet(long, long)).booleanAtomicLongArray. weakCompareAndSet(int i, long expectedValue, long newValue)Deprecated.This method has plain memory effects but the method name implies volatile memory effects (see methods such asAtomicLongArray.compareAndExchange(int, long, long)andAtomicLongArray.compareAndSet(int, long, long)).booleanAtomicReference. weakCompareAndSet(V expectedValue,V newValue)Deprecated.This method has plain memory effects but the method name implies volatile memory effects (see methods such asAtomicReference.compareAndExchange(V, V)andAtomicReference.compareAndSet(V, V)).booleanAtomicReferenceArray. weakCompareAndSet(int i,E expectedValue,E newValue)Deprecated.This method has plain memory effects but the method name implies volatile memory effects (see methods such asAtomicReferenceArray.compareAndExchange(int, E, E)andAtomicReferenceArray.compareAndSet(int, E, E)).Uses ofDeprecated injava.util.jar
Classes injava.util.jar with annotations of typeDeprecated Modifier and Type Class Description classPack200Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated, and is planned for removal in a future release.static interfacePack200.PackerDeprecated, for removal: This API element is subject to removal in a future version.This interface is deprecated, and is planned for removal in a future release.static interfacePack200.UnpackerDeprecated, for removal: This API element is subject to removal in a future version.This interface is deprecated, and is planned for removal in a future release.Fields injava.util.jar with annotations of typeDeprecated Modifier and Type Field Description staticAttributes.NameAttributes.Name. EXTENSION_INSTALLATIONDeprecated.Extension mechanism is no longer supported.staticAttributes.NameAttributes.Name. IMPLEMENTATION_URLDeprecated.Extension mechanism is no longer supported.staticAttributes.NameAttributes.Name. IMPLEMENTATION_VENDOR_IDDeprecated.Extension mechanism is no longer supported.Uses ofDeprecated injava.util.logging
Classes injava.util.logging with annotations of typeDeprecated Modifier and Type Interface Description interfaceLoggingMXBeanDeprecated.Fields injava.util.logging with annotations of typeDeprecated Modifier and Type Field Description staticLoggerLogger. globalDeprecated.Initialization of this field is prone to deadlocks.Methods injava.util.logging with annotations of typeDeprecated Modifier and Type Method Description staticLoggingMXBeanLogManager. getLoggingMXBean()Deprecated.java.util.logging.LoggingMXBeanis deprecated and replaced withjava.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)Deprecated.LogRecord maintains timestamps with nanosecond resolution, usingInstantvalues.Uses ofDeprecated injava.util.zip
Methods injava.util.zip with annotations of typeDeprecated Modifier and Type Method Description protected voidDeflater. finalize()Deprecated, for removal: This API element is subject to removal in a future version.Thefinalizemethod has been deprecated and will be removed.protected voidInflater. finalize()Deprecated, for removal: This API element is subject to removal in a future version.Thefinalizemethod has been deprecated and will be removed.protected voidZipFile. finalize()Deprecated, for removal: This API element is subject to removal in a future version.Thefinalizemethod has been deprecated and will be removed.Uses ofDeprecated injavax.accessibility
Classes injavax.accessibility with annotations of typeDeprecated Modifier and Type Class Description classAccessibleResourceBundleDeprecated.This class is deprecated as of version 1.3 of the Java PlatformUses ofDeprecated injavax.imageio.spi
Fields injavax.imageio.spi with annotations of typeDeprecated Modifier and Type Field Description staticClass<?>[]ImageReaderSpi. STANDARD_INPUT_TYPEDeprecated.Instead of using this field, directly create the equivalent array{ ImageInputStream.class }.staticClass<?>[]ImageWriterSpi. STANDARD_OUTPUT_TYPEDeprecated.Instead of using this field, directly create the equivalent array{ ImageOutputStream.class }.Methods injavax.imageio.spi with annotations of typeDeprecated Modifier and Type Method Description voidServiceRegistry. finalize()Deprecated.Thefinalizemethod has been deprecated.Uses ofDeprecated injavax.imageio.stream
Methods injavax.imageio.stream with annotations of typeDeprecated Modifier and Type Method Description protected voidFileCacheImageInputStream. finalize()Deprecated.Thefinalizemethod has been deprecated.protected voidFileImageInputStream. finalize()Deprecated.Thefinalizemethod has been deprecated.protected voidFileImageOutputStream. finalize()Deprecated.Thefinalizemethod has been deprecated.protected voidImageInputStreamImpl. finalize()Deprecated.Thefinalizemethod has been deprecated.protected voidMemoryCacheImageInputStream. finalize()Deprecated.Thefinalizemethod has been deprecated.Uses ofDeprecated injavax.lang.model.util
Constructors injavax.lang.model.util with annotations of typeDeprecated Constructor Description AbstractAnnotationValueVisitor6()Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.AbstractElementVisitor6()Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.AbstractTypeVisitor6()Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.ElementKindVisitor6()Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.ElementKindVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.ElementScanner6()Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.ElementScanner6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleAnnotationValueVisitor6()Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleAnnotationValueVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleElementVisitor6()Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleElementVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleTypeVisitor6()Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleTypeVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.TypeKindVisitor6()Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.TypeKindVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.Uses ofDeprecated injavax.management
Classes injavax.management with annotations of typeDeprecated Modifier and Type Class Description classDefaultLoaderRepositoryDeprecated.UseMBeanServer.getClassLoaderRepository()instead.Methods injavax.management with annotations of typeDeprecated Modifier and Type Method Description defaultObjectInputStreamMBeanServer. deserialize(String className, byte[] data)Deprecated.UseMBeanServer.getClassLoaderRepository()to obtain the class loader repository and use it to deserialize.defaultObjectInputStreamMBeanServer. deserialize(String className,ObjectName loaderName, byte[] data)Deprecated.UsegetClassLoaderto obtain the class loader for deserialization.defaultObjectInputStreamMBeanServer. deserialize(ObjectName name, byte[] data)Deprecated.UsegetClassLoaderForto obtain the appropriate class loader for deserialization.voidAttributeValueExp. setMBeanServer(MBeanServer s)Deprecated.This method has no effect.voidStringValueExp. setMBeanServer(MBeanServer s)Deprecated.voidValueExp. setMBeanServer(MBeanServer s)Deprecated.This method is not needed because aValueExpcan access the MBean server in which it is being evaluated by usingQueryEval.getMBeanServer().Constructors injavax.management with annotations of typeDeprecated Constructor Description AttributeValueExp()Deprecated.An instance created with this constructor cannot be used in a query.Uses ofDeprecated injavax.management.loading
Classes injavax.management.loading with annotations of typeDeprecated Modifier and Type Class Description classDefaultLoaderRepositoryDeprecated.UseMBeanServer.getClassLoaderRepository()instead.Uses ofDeprecated injavax.management.monitor
Fields injavax.management.monitor with annotations of typeDeprecated Modifier and Type Field Description protected intMonitor. alreadyNotifiedDeprecated.equivalent toMonitor.alreadyNotifieds[0].protectedStringMonitor. dbgTagDeprecated.No replacement.Uses ofDeprecated injavax.management.openmbean
Fields injavax.management.openmbean with annotations of typeDeprecated Modifier and Type Field Description staticString[]OpenType. ALLOWED_CLASSNAMESDeprecated.UseALLOWED_CLASSNAMES_LISTinstead.Uses ofDeprecated injavax.management.remote.rmi
Classes injavax.management.remote.rmi with annotations of typeDeprecated Modifier and Type Class Description classRMIIIOPServerImplDeprecated.This transport is no longer supported.Fields injavax.management.remote.rmi with annotations of typeDeprecated Modifier and Type Field Description staticStringRMIConnectorServer. CREDENTIAL_TYPESDeprecated, for removal: This API element is subject to removal in a future version.UseRMIConnectorServer.CREDENTIALS_FILTER_PATTERNwith afilter pattern string instead.Uses ofDeprecated injavax.naming
Fields injavax.naming with annotations of typeDeprecated Modifier and Type Field Description staticStringContext. APPLETDeprecated.An environment property with this name is ignored while constructing an initial context.Uses ofDeprecated injavax.net.ssl
Methods injavax.net.ssl with annotations of typeDeprecated Modifier and Type Method Description X509Certificate[]HandshakeCompletedEvent. getPeerCertificateChain()Deprecated.TheHandshakeCompletedEvent.getPeerCertificates()method that returns an array ofjava.security.cert.Certificateshould be used instead.X509Certificate[]SSLSession. getPeerCertificateChain()Deprecated.TheSSLSession.getPeerCertificates()method that returns an array ofjava.security.cert.Certificateshould be used instead.Uses ofDeprecated injavax.security.cert
Classes injavax.security.cert with annotations of typeDeprecated Modifier and Type Class Description classCertificateDeprecated.Use the classes injava.security.certinstead.classCertificateEncodingExceptionDeprecated.Use the classes injava.security.certinstead.classCertificateExceptionDeprecated.Use the classes injava.security.certinstead.classCertificateExpiredExceptionDeprecated.Use the classes injava.security.certinstead.classCertificateNotYetValidExceptionDeprecated.Use the classes injava.security.certinstead.classCertificateParsingExceptionDeprecated.Use the classes injava.security.certinstead.classX509CertificateDeprecated.Use the classes injava.security.certinstead.Uses ofDeprecated injavax.sql.rowset
Fields injavax.sql.rowset with annotations of typeDeprecated Modifier and Type Field Description static booleanCachedRowSet. COMMIT_ON_ACCEPT_CHANGESDeprecated.Because this field is final (it is part of an interface), its value cannot be changed.Methods injavax.sql.rowset with annotations of typeDeprecated Modifier and Type Method Description voidBaseRowSet. setUnicodeStream(int parameterIndex,InputStream x, int length)Deprecated.getCharacterStream should be used in its placeUses ofDeprecated injavax.swing
Classes injavax.swing with annotations of typeDeprecated Modifier and Type Class Description classJAppletDeprecated.The Applet API is deprecated, no replacement.protected classJComponent.AccessibleJComponent.AccessibleFocusHandlerDeprecated.This class is no longer used or needed.Fields injavax.swing with annotations of typeDeprecated Modifier and Type Field Description protectedFocusListenerJComponent.AccessibleJComponent. accessibleFocusHandlerDeprecated.protected booleanJViewport. backingStoreDeprecated.As of Java 2 platform v1.3protected staticComponentImageIcon. componentDeprecated.since 1.8protected staticMediaTrackerImageIcon. trackerDeprecated.since 1.8Methods injavax.swing with annotations of typeDeprecated Modifier and Type Method Description voidRepaintManager. addDirtyRegion(Applet applet, int x, int y, int w, int h)Deprecated.The Applet API is deprecated.staticJScrollPaneJTable. createScrollPaneForTable(JTable aTable)Deprecated.As of Swing version 1.0.2, replaced bynew JScrollPane(aTable).voidJComponent. disable()Deprecated.As of JDK version 1.1, replaced byjava.awt.Component.setEnabled(boolean).static voidFocusManager. disableSwingFocusManager()Deprecated.as of 1.4, replaced byKeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy)voidJComponent. enable()Deprecated.As of JDK version 1.1, replaced byjava.awt.Component.setEnabled(boolean).staticComponentSwingUtilities. findFocusOwner(Component c)Deprecated.As of 1.4, replaced byKeyboardFocusManager.getFocusOwner().ComponentJMenuBar. getComponentAtIndex(int i)Deprecated.replaced bygetComponent(int i)ComponentJPopupMenu. getComponentAtIndex(int i)Deprecated.replaced byContainer.getComponent(int)staticKeyStrokeKeyStroke. getKeyStroke(char keyChar, boolean onKeyRelease)Deprecated.use getKeyStroke(char)StringAbstractButton. getLabel()Deprecated.- Replaced bygetTextJMenuBarJInternalFrame. getMenuBar()Deprecated.As of Swing version 1.0.3, replaced bygetJMenuBar().JMenuBarJRootPane. getMenuBar()Deprecated.As of Swing version 1.0.3 replaced bygetJMenuBar().ComponentJComponent. getNextFocusableComponent()Deprecated.As of 1.4, replaced byFocusTraversalPolicy.Object[]JList. getSelectedValues()Deprecated.As of JDK 1.7, replaced byJList.getSelectedValuesList()StringJPasswordField. getText()Deprecated.As of Java 2 platform v1.2, replaced bygetPassword.StringJPasswordField. getText(int offs, int len)Deprecated.As of Java 2 platform v1.2, replaced bygetPassword.RectangleScrollPaneLayout. getViewportBorderBounds(JScrollPane scrollpane)Deprecated.As of JDK version Swing1.1 replaced byJScrollPane.getViewportBorderBounds().booleanJViewport. isBackingStoreEnabled()Deprecated.As of Java 2 platform v1.3, replaced bygetScrollMode().static booleanFocusManager. isFocusManagerEnabled()Deprecated.As of 1.4, replaced byKeyboardFocusManager.getDefaultFocusTraversalPolicy()booleanJComponent. isManagingFocus()Deprecated.As of 1.4, replaced byComponent.setFocusTraversalKeys(int, Set)andContainer.setFocusCycleRoot(boolean).booleanJComponent. requestDefaultFocus()Deprecated.As of 1.4, replaced byFocusTraversalPolicy.getDefaultComponent(Container).requestFocus()voidJComponent. reshape(int x, int y, int w, int h)Deprecated.As of JDK 5, replaced byComponent.setBounds(int, int, int, int).voidJViewport. setBackingStoreEnabled(boolean enabled)Deprecated.As of Java 2 platform v1.3, replaced bysetScrollMode().voidAbstractButton. setLabel(String label)Deprecated.- Replaced bysetText(text)voidJInternalFrame. setMenuBar(JMenuBar m)Deprecated.As of Swing version 1.0.3 replaced bysetJMenuBar(JMenuBar m).voidJRootPane. setMenuBar(JMenuBar menu)Deprecated.As of Swing version 1.0.3 replaced bysetJMenuBar(JMenuBar menu).voidJComponent. setNextFocusableComponent(Component aComponent)Deprecated.As of 1.4, replaced byFocusTraversalPolicybooleanInputVerifier. shouldYieldFocus(JComponent input)Deprecated.voidJTable. sizeColumnsToFit(boolean lastColumnOnly)Deprecated.As of Swing version 1.0.3, replaced bydoLayout().Uses ofDeprecated injavax.swing.plaf
Methods injavax.swing.plaf with annotations of typeDeprecated Modifier and Type Method Description StringTextUI. getToolTipText(JTextComponent t,Point pt)Deprecated.abstractRectangleTextUI. modelToView(JTextComponent t, int pos)Deprecated.abstractRectangleTextUI. modelToView(JTextComponent t, int pos,Position.Bias bias)Deprecated.abstract intTextUI. viewToModel(JTextComponent t,Point pt)Deprecated.abstract intTextUI. viewToModel(JTextComponent t,Point pt,Position.Bias[] biasReturn)Deprecated.Uses ofDeprecated injavax.swing.plaf.basic
Fields injavax.swing.plaf.basic with annotations of typeDeprecated Modifier and Type Field Description protectedKeyStrokeBasicDesktopPaneUI. closeKeyDeprecated.As of 1.3.protectedKeyStrokeBasicSplitPaneUI. dividerResizeToggleKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicSplitPaneUI. downKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicTabbedPaneUI. downKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicToolBarUI. downKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicSplitPaneUI. endKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicSplitPaneUI. homeKeyDeprecated.As of Java 2 platform v1.3.protectedActionListenerBasicSplitPaneUI. keyboardDownRightListenerDeprecated.As of Java 2 platform v1.3.protectedActionListenerBasicSplitPaneUI. keyboardEndListenerDeprecated.As of Java 2 platform v1.3.protectedActionListenerBasicSplitPaneUI. keyboardHomeListenerDeprecated.As of Java 2 platform v1.3.protectedActionListenerBasicSplitPaneUI. keyboardResizeToggleListenerDeprecated.As of Java 2 platform v1.3.protectedActionListenerBasicSplitPaneUI. keyboardUpLeftListenerDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicSplitPaneUI. leftKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicTabbedPaneUI. leftKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicToolBarUI. leftKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicDesktopPaneUI. maximizeKeyDeprecated.As of 1.3.protectedKeyStrokeBasicDesktopPaneUI. minimizeKeyDeprecated.As of 1.3.protectedKeyStrokeBasicDesktopPaneUI. navigateKeyDeprecated.As of 1.3.protectedKeyStrokeBasicDesktopPaneUI. navigateKey2Deprecated.As of 1.3.protectedKeyStrokeBasicInternalFrameUI. openMenuKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicSplitPaneUI. rightKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicTabbedPaneUI. rightKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicToolBarUI. rightKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicSplitPaneUI. upKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicTabbedPaneUI. upKeyDeprecated.As of Java 2 platform v1.3.protectedKeyStrokeBasicToolBarUI. upKeyDeprecated.As of Java 2 platform v1.3.Methods injavax.swing.plaf.basic with annotations of typeDeprecated Modifier and Type Method Description protectedActionListenerBasicSplitPaneUI. createKeyboardDownRightListener()Deprecated.As of Java 2 platform v1.3.protectedActionListenerBasicSplitPaneUI. createKeyboardEndListener()Deprecated.As of Java 2 platform v1.3.protectedActionListenerBasicSplitPaneUI. createKeyboardHomeListener()Deprecated.As of Java 2 platform v1.3.protectedActionListenerBasicSplitPaneUI. createKeyboardResizeToggleListener()Deprecated.As of Java 2 platform v1.3.protectedActionListenerBasicSplitPaneUI. createKeyboardUpLeftListener()Deprecated.As of Java 2 platform v1.3.protected intBasicSplitPaneUI. getDividerBorderSize()Deprecated.As of Java 2 platform v1.3, instead set the border on the divider.RectangleBasicTextUI. modelToView(JTextComponent tc, int pos)Deprecated.RectangleBasicTextUI. modelToView(JTextComponent tc, int pos,Position.Bias bias)Deprecated.intBasicTextUI. viewToModel(JTextComponent tc,Point pt)Deprecated.intBasicTextUI. viewToModel(JTextComponent tc,Point pt,Position.Bias[] biasReturn)Deprecated.Uses ofDeprecated injavax.swing.plaf.metal
Classes injavax.swing.plaf.metal with annotations of typeDeprecated Modifier and Type Class Description classMetalComboBoxUI.MetalComboPopupDeprecated.As of Java 2 platform v1.4.protected classMetalFileChooserUI.FileRendererDeprecated.As of JDK version 9.protected classMetalFileChooserUI.SingleClickListenerDeprecated.As of JDK version 9.Methods injavax.swing.plaf.metal with annotations of typeDeprecated Modifier and Type Method Description protected voidMetalComboBoxUI. editablePropertyChanged(PropertyChangeEvent e)Deprecated.As of Java 2 platform v1.4.protected voidMetalComboBoxUI. removeListeners()Deprecated.As of Java 2 platform v1.4.voidMetalScrollPaneUI. uninstallListeners(JScrollPane scrollPane)Deprecated.- Replaced byBasicScrollPaneUI.uninstallListeners(JComponent)Uses ofDeprecated injavax.swing.plaf.multi
Methods injavax.swing.plaf.multi with annotations of typeDeprecated Modifier and Type Method Description RectangleMultiTextUI. modelToView(JTextComponent a, int b)Deprecated.RectangleMultiTextUI. modelToView(JTextComponent a, int b,Position.Bias c)Deprecated.intMultiTextUI. viewToModel(JTextComponent a,Point b)Deprecated.intMultiTextUI. viewToModel(JTextComponent a,Point b,Position.Bias[] c)Deprecated.Uses ofDeprecated injavax.swing.table
Fields injavax.swing.table with annotations of typeDeprecated Modifier and Type Field Description protected intTableColumn. resizedPostingDisableCountDeprecated.as of Java 2 platform v1.3Methods injavax.swing.table with annotations of typeDeprecated Modifier and Type Method Description voidTableColumn. disableResizedPosting()Deprecated.as of Java 2 platform v1.3voidTableColumn. enableResizedPosting()Deprecated.as of Java 2 platform v1.3Uses ofDeprecated injavax.swing.text
Classes injavax.swing.text with annotations of typeDeprecated Modifier and Type Class Description classDefaultTextUIDeprecated.classTableView.TableCellDeprecated.A table cell can now be any View implementation.Methods injavax.swing.text with annotations of typeDeprecated Modifier and Type Method Description protectedTableView.TableCellTableView. createTableCell(Element elem)Deprecated.Table cells can now be any arbitrary View implementation and should be produced by the ViewFactory rather than the table.protected intPasswordView. drawEchoCharacter(Graphics g, int x, int y, char c)Deprecated.protected voidPlainView. drawLine(int lineIndex,Graphics g, int x, int y)Deprecated.protected voidWrappedPlainView. drawLine(int p0, int p1,Graphics g, int x, int y)Deprecated.protected intPasswordView. drawSelectedText(Graphics g, int x, int y, int p0, int p1)Deprecated.protected intPlainView. drawSelectedText(Graphics g, int x, int y, int p0, int p1)Deprecated.protected intWrappedPlainView. drawSelectedText(Graphics g, int x, int y, int p0, int p1)Deprecated.static intUtilities. drawTabbedText(Segment s, int x, int y,Graphics g,TabExpander e, int startOffset)Deprecated.protected intPasswordView. drawUnselectedText(Graphics g, int x, int y, int p0, int p1)Deprecated.protected intPlainView. drawUnselectedText(Graphics g, int x, int y, int p0, int p1)Deprecated.protected intWrappedPlainView. drawUnselectedText(Graphics g, int x, int y, int p0, int p1)Deprecated.static intUtilities. getBreakLocation(Segment s,FontMetrics metrics, int x0, int x,TabExpander e, int startOffset)Deprecated.protectedFontMetricsLabelView. getFontMetrics()Deprecated.FontMetrics are not used for glyph rendering when running in the JDK.static intUtilities. getPositionAbove(JTextComponent c, int offs, int x)Deprecated.static intUtilities. getPositionBelow(JTextComponent c, int offs, int x)Deprecated.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)Deprecated.RectangleJTextComponent. modelToView(int pos)Deprecated.replaced byJTextComponent.modelToView2D(int)ShapeView. modelToView(int pos,Shape a)Deprecated.intJTextComponent. viewToModel(Point pt)Deprecated.replaced byJTextComponent.viewToModel2D(Point2D)intView. viewToModel(float x, float y,Shape a)Deprecated.Uses ofDeprecated injavax.swing.text.html
Fields injavax.swing.text.html with annotations of typeDeprecated Modifier and Type Field Description staticStringFormView. RESETDeprecated.As of 1.3, value comes from UIManager UIManager property FormView.resetButtonTextstaticStringFormView. SUBMITDeprecated.As of 1.3, value now comes from UIManager property FormView.submitButtonTextMethods injavax.swing.text.html with annotations of typeDeprecated Modifier and Type Method Description protected voidHTMLEditorKit.InsertHTMLTextAction. insertAtBoundry(JEditorPane editor,HTMLDocument doc, int offset,Element insertElement,String html,HTML.Tag parentTag,HTML.Tag addTag)Deprecated.As of Java 2 platform v1.3, use insertAtBoundaryUses ofDeprecated injavax.swing.tree
Methods injavax.swing.tree with annotations of typeDeprecated Modifier and Type Method Description protected voidDefaultTreeSelectionModel. notifyPathChange(Vector<?> changedPaths,TreePath oldLeadSelection)Deprecated.As of JDK version 1.7Uses ofDeprecated injavax.tools
Methods injavax.tools with annotations of typeDeprecated Modifier and Type Method Description staticClassLoaderToolProvider. getSystemToolClassLoader()Deprecated.This method is subject to removal in a future version of Java SE.Uses ofDeprecated injavax.xml.stream
Methods injavax.xml.stream with annotations of typeDeprecated Modifier and Type Method Description staticXMLEventFactoryXMLEventFactory. newInstance(String factoryId,ClassLoader classLoader)Deprecated.This method has been deprecated to maintain API consistency.staticXMLInputFactoryXMLInputFactory. newInstance(String factoryId,ClassLoader classLoader)Deprecated.This method has been deprecated to maintain API consistency.staticXMLInputFactoryXMLOutputFactory. newInstance(String factoryId,ClassLoader classLoader)Deprecated.This method has been deprecated because it returns an instance of XMLInputFactory, which is of the wrong class.Uses ofDeprecated injdk.nashorn.api.scripting
Classes injdk.nashorn.api.scripting with annotations of typeDeprecated Modifier and Type Class Description classAbstractJSObjectDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceClassFilterDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceJSObjectDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.classNashornExceptionDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.classNashornScriptEngineDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.classNashornScriptEngineFactoryDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.classScriptObjectMirrorDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.classScriptUtilsDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.classURLReaderDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.Methods injdk.nashorn.api.scripting with annotations of typeDeprecated Modifier and Type Method Description staticObjectAbstractJSObject. getDefaultValue(JSObject jsobj,Class<?> hint)Deprecated.useJSObject.getDefaultValue(Class)instead.doubleAbstractJSObject. toNumber()Deprecated.useJSObject.getDefaultValue(Class)withNumberhint instead.default doubleJSObject. toNumber()Deprecated.useJSObject.getDefaultValue(Class)withNumberhint instead.Uses ofDeprecated injdk.nashorn.api.tree
Classes injdk.nashorn.api.tree with annotations of typeDeprecated Modifier and Type Interface Description interfaceArrayAccessTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceArrayLiteralTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceAssignmentTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceBinaryTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceBlockTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceBreakTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceCaseTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceCatchTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceClassDeclarationTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceClassExpressionTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceCompilationUnitTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceCompoundAssignmentTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceConditionalExpressionTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceConditionalLoopTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceContinueTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceDebuggerTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceDiagnosticDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.static classDiagnostic.KindDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceDiagnosticListenerDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceDoWhileLoopTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceEmptyStatementTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceErroneousTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceExportEntryTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceExpressionStatementTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceExpressionTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceForInLoopTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceForLoopTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceForOfLoopTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceFunctionCallTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceFunctionDeclarationTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceFunctionExpressionTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceGotoTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceIdentifierTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceIfTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceImportEntryTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceInstanceOfTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceLabeledStatementTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceLineMapDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceLiteralTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceLoopTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceMemberSelectTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceModuleTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceNewTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceObjectLiteralTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceParenthesizedTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceParserDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfacePropertyTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceRegExpLiteralTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceReturnTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.classSimpleTreeVisitorES5_1<R,P>Deprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.classSimpleTreeVisitorES6<R,P>Deprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceSpreadTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceStatementTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceSwitchTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceTemplateLiteralTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceThrowTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.static classTree.KindDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceTreeVisitor<R,P>Deprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceTryTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceUnaryTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.classUnknownTreeExceptionDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceVariableTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceWhileLoopTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceWithTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.interfaceYieldTreeDeprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.Uses ofDeprecated innetscape.javascript
Methods innetscape.javascript with annotations of typeDeprecated Modifier and Type Method Description staticJSObjectJSObject. getWindow(Applet applet)Deprecated.The Applet API is deprecated.Uses ofDeprecated inorg.ietf.jgss
Methods inorg.ietf.jgss with annotations of typeDeprecated Modifier and Type Method Description voidGSSContext. acceptSecContext(InputStream inStream,OutputStream outStream)Deprecated.The stream-based methods have been removed from RFC 8353.voidGSSContext. getMIC(InputStream inStream,OutputStream outStream,MessageProp msgProp)Deprecated.The stream-based methods have been removed from RFC 8353.intGSSContext. initSecContext(InputStream inStream,OutputStream outStream)Deprecated.The stream-based methods have been removed from RFC 8353.voidGSSContext. unwrap(InputStream inStream,OutputStream outStream,MessageProp msgProp)Deprecated.The stream-based methods have been removed from RFC 8353.voidGSSContext. verifyMIC(InputStream tokStream,InputStream msgStream,MessageProp msgProp)Deprecated.The stream-based methods have been removed from RFC 8353.voidGSSContext. wrap(InputStream inStream,OutputStream outStream,MessageProp msgProp)Deprecated.The stream-based methods have been removed from RFC 8353.Uses ofDeprecated inorg.xml.sax
Classes inorg.xml.sax with annotations of typeDeprecated Modifier and Type Interface Description interfaceAttributeListDeprecated.This interface has been replaced by the SAX2Attributesinterface, which includes Namespace support.interfaceDocumentHandlerDeprecated.This interface has been replaced by the SAX2ContentHandlerinterface, which includes Namespace support.classHandlerBaseDeprecated.This class works with the deprecatedDocumentHandlerinterface.interfaceParserDeprecated.This interface has been replaced by the SAX2XMLReaderinterface, which includes Namespace support.Uses ofDeprecated inorg.xml.sax.helpers
Classes inorg.xml.sax.helpers with annotations of typeDeprecated Modifier and Type Class Description classAttributeListImplDeprecated.This class implements a deprecated interface,AttributeList; that interface has been replaced byAttributes, which is implemented in theAttributesImplhelper class.classParserFactoryDeprecated.This class works with the deprecatedParserinterface.classXMLReaderFactoryDeprecated.It is recommended to useSAXParserFactoryinstead.