Uses of Annotation Interface
java.lang.Deprecated
Packages that use Deprecated
Package
Description
This package comprises the interfaces and classes used to define the
 signing mechanism used by the 
jarsigner tool.Provides a collection of interfaces and classes that compose the Java Accessibility
 Utilities.
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.
This package contains the JDK's extension to
 the standard implementation of the
 
java.lang.management API and also defines the management
 interface for some other components of the platform.This package defines classes and interfaces for the JDK extensions
 to the GSS-API.
Provides interfaces to represent source code as abstract syntax
 trees (AST).
This package provides a legacy entry point for the javac tool.
Provides the classes necessary to create an applet and the classes an applet
 uses to communicate with its applet context.
Contains all of the classes for creating user interfaces and for painting
 graphics and images.
Provides classes for color spaces.
Provides interfaces and classes for transferring data between and within
 applications.
Provides interfaces and classes for dealing with different types of events
 fired by AWT components.
Provides classes for creating and modifying images.
Provides classes and interfaces for producing rendering-independent images.
Contains classes related to developing beans -- components based on
 the JavaBeans architecture.
Provides for system input and output through data streams,
 serialization and the file system.
Provides classes that are fundamental to the design of the Java
 programming language.
The 
java.lang.invoke package provides low-level primitives for interacting
 with the Java Virtual Machine.Provides reference-object classes, which support a limited degree
 of interaction with the garbage collector.
Provides classes and interfaces for obtaining reflective information about
 classes and objects.
Provides classes for performing arbitrary-precision integer
 arithmetic (
BigInteger) and arbitrary-precision decimal
 arithmetic (BigDecimal).Provides the classes for implementing networking applications.
Provides the RMI package.
Provides support for RMI Object Activation.
Provides classes and interface for RMI distributed
 garbage-collection (DGC).
Provides a class and two interfaces for the RMI registry.
Provides classes and interfaces for supporting the server side of RMI.
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
 certificates, certificate revocation lists (CRLs), and
 certification paths.
Provides interfaces for generating RSA (Rivest, Shamir and
 Adleman AsymmetricCipher algorithm)
 keys as defined in the RSA Laboratory Technical Note
 PKCS#1, and DSA (Digital Signature
 Algorithm) keys as defined in NIST's FIPS-186.
Provides the API for accessing and processing data stored in a
 data source (usually a relational database) using the
 Java programming language.
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.
Utility classes commonly useful in concurrent programming.
A small toolkit of classes that support lock-free thread-safe
 programming on single variables.
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.
Provides the classes and interfaces of
 the Java 2 platform's core logging facilities.
Defines a contract between user-interface components and an assistive
 technology that provides access to those components.
Provides the classes and interfaces for cryptographic
 operations.
Provides interfaces for Diffie-Hellman keys as defined in RSA
 Laboratories' PKCS #3.
A package of the Java Image I/O API containing the plug-in interfaces for
 readers, writers, transcoders, and streams, and a runtime registry.
A package of the Java Image I/O API dealing with low-level I/O from files and
 streams.
Utilities to assist in the processing of
 program elements and
 types.
Provides the core classes for the Java Management Extensions.
Provides the classes which implement advanced dynamic
        loading.
Provides the definition of the monitor classes.
Provides the open data types and Open MBean descriptor classes.
Provides the definition of the Relation Service.
The RMI connector is a connector for the JMX Remote API that
      uses RMI to transmit client requests to a remote MBean server.
Provides the classes and interfaces for accessing naming services.
Extends the 
javax.naming package to provide functionality
for accessing directory services.Provides classes for the secure socket package.
Provides classes for public key certificates.
Standard interfaces and base classes for JDBC 
RowSet
 implementations.Provides a set of "lightweight" (all-Java language) components
 that, to the maximum degree possible, work the same on all platforms.
Provides one interface and many abstract classes that Swing uses to provide
 its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
 (once codenamed Metal), which is the default look and feel.
Provides user interface objects that combine two or more look and feels.
Provides classes and interfaces for dealing with 
javax.swing.JTable.Provides classes and interfaces that deal with editable and noneditable text
 components.
Provides the class 
HTMLEditorKit and supporting classes for creating
 HTML text editors.Provides classes and interfaces for dealing with 
javax.swing.JTree.Provides interfaces for tools which can be invoked from a program,
 for example, compilers.
 Defines interfaces and classes for the Streaming API for XML (StAX).
Platform specific socket options for the 
java.net and java.nio.channels
 socket classes.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.
Provides the interfaces for the Simple API for XML (SAX).
Provides helper classes, including
 support for bootstrapping SAX-based applications.
- 
Uses of Deprecated in com.sun.jarsignerClasses in com.sun.jarsigner with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.This class has been deprecated.interfaceDeprecated, for removal: This API element is subject to removal in a future version.This class has been deprecated.
- 
Uses of Deprecated in com.sun.java.accessibility.utilFields in com.sun.java.accessibility.util with annotations of type DeprecatedModifier and TypeFieldDescriptionprotected static ActionListenerAWTEventMonitor.actionListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static AdjustmentListenerAWTEventMonitor.adjustmentListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static ComponentListenerAWTEventMonitor.componentListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static ComponentAWTEventMonitor.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 static ContainerListenerAWTEventMonitor.containerListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static FocusListenerAWTEventMonitor.focusListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static ItemListenerAWTEventMonitor.itemListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static KeyListenerAWTEventMonitor.keyListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static MouseListenerAWTEventMonitor.mouseListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static MouseMotionListenerAWTEventMonitor.mouseMotionListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static TextListenerAWTEventMonitor.textListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static WindowListenerAWTEventMonitor.windowListenerDeprecated, for removal: This API element is subject to removal in a future version.This field is unused.
- 
Uses of Deprecated in com.sun.jdiClasses in com.sun.jdi with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.This exception is no longer thrownclassDeprecated.This exception is no longer thrownMethods in com.sun.jdi with annotations of type DeprecatedModifier and TypeMethodDescriptionbooleanVirtualMachine.canAddMethod()Deprecated.A JVM TI based JDWP back-end will never set this capability to true.booleanVirtualMachine.canUnrestrictedlyRedefineClasses()Deprecated.A JVM TI based JDWP back-end will never set this capability to true.Constructors in com.sun.jdi with annotations of type DeprecatedModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.
- 
Uses of Deprecated in com.sun.managementMethods in com.sun.management with annotations of type DeprecatedModifier and TypeMethodDescriptiondefault longOperatingSystemMXBean.getFreePhysicalMemorySize()Deprecated.UseOperatingSystemMXBean.getFreeMemorySize()instead of this historically named method.default doubleOperatingSystemMXBean.getSystemCpuLoad()Deprecated.UseOperatingSystemMXBean.getCpuLoad()instead of this historically named method.default longOperatingSystemMXBean.getTotalPhysicalMemorySize()Deprecated.UseOperatingSystemMXBean.getTotalMemorySize()instead of this historically named method.
- 
Uses of Deprecated in com.sun.security.jgssConstructors in com.sun.security.jgss with annotations of type DeprecatedModifierConstructorDescriptionGSSUtil()Deprecated, for removal: This API element is subject to removal in a future version.
- 
Uses of Deprecated in com.sun.source.treeMethods in com.sun.source.tree with annotations of type DeprecatedModifier and TypeMethodDescriptionCaseTree.getExpression()Deprecated.Please useCaseTree.getExpressions().
- 
Uses of Deprecated in com.sun.tools.javacConstructors in com.sun.tools.javac with annotations of type DeprecatedModifierConstructorDescriptionMain()Deprecated, for removal: This API element is subject to removal in a future version.
- 
Uses of Deprecated in java.appletClasses in java.applet with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.The Applet API is deprecated, no replacement.interfaceDeprecated.The Applet API is deprecated, no replacement.interfaceDeprecated.The Applet API is deprecated, no replacement.interfaceDeprecated.The Applet API is deprecated, no replacement.
- 
Uses of Deprecated in java.awtClasses in java.awt with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.It is recommended thatAWTEventand its subclasses be used insteadFields in java.awt with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic 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 static Cursor[]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 in java.awt with annotations of type DeprecatedModifier and TypeMethodDescriptionbooleanDeprecated.As of JDK version 1.1, should register this component as ActionListener on component which fires action events.voidDeprecated.replaced byadd(String).voidDeprecated.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.Component.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.Polygon.getBoundingBox()Deprecated.As of JDK version 1.1, replaced bygetBounds().Graphics.getClipRect()Deprecated.As of JDK version 1.1, replaced bygetClipBounds().CheckboxGroup.getCurrent()Deprecated.As of JDK version 1.1, replaced bygetSelectedCheckbox().intFrame.getCursorType()Deprecated.As of JDK version 1.1, replaced byComponent.getCursor().abstract String[]Toolkit.getFontList()Deprecated.abstract FontMetricsToolkit.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 insteadstatic ComponentOrientationComponentOrientation.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().booleanDeprecated.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).Container.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).booleanDeprecated.As of JDK version 1.1, replaced by processKeyEvent(KeyEvent).booleanDeprecated.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().Component.locate(int x, int y)Deprecated.As of JDK version 1.1, replaced by getComponentAt(int, int).Container.locate(int x, int y)Deprecated.As of JDK version 1.1, replaced bygetComponentAt(int, int).Component.location()Deprecated.As of JDK version 1.1, replaced bygetLocation().booleanDeprecated.As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).Component.minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().Container.minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().List.minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().List.minimumSize(int rows)Deprecated.As of JDK version 1.1, replaced bygetMinimumSize(int).TextArea.minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().TextArea.minimumSize(int rows, int columns)Deprecated.As of JDK version 1.1, replaced bygetMinimumSize(int, int).TextField.minimumSize()Deprecated.As of JDK version 1.1, replaced bygetMinimumSize().TextField.minimumSize(int columns)Deprecated.As of JDK version 1.1, replaced bygetMinimumSize(int).booleanDeprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).booleanDeprecated.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).booleanDeprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).booleanDeprecated.As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent).booleanDeprecated.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().booleanDeprecated.As of JDK version 1.1, replaced by dispatchEvent(AWTEvent).booleanDeprecated.As of JDK version 1.1, replaced bydispatchEvent.booleanDeprecated.As of JDK version 1.1 replaced by dispatchEvent(AWTEvent).booleanDeprecated.As of JDK version 1.1 replaced bydispatchEvent(AWTEvent).Component.preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().Container.preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().List.preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().List.preferredSize(int rows)Deprecated.As of JDK version 1.1, replaced bygetPreferredSize(int).TextArea.preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().TextArea.preferredSize(int rows, int columns)Deprecated.As of JDK version 1.1, replaced bygetPreferredSize(int, int).TextField.preferredSize()Deprecated.As of JDK version 1.1, replaced bygetPreferredSize().TextField.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).voidDeprecated.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).Component.size()Deprecated.As of JDK version 1.1, replaced bygetSize().Constructors in java.awt with annotations of type DeprecatedModifierConstructorDescriptionDeprecated.It is recommended thatAWTEvent(Object, int)be used instead
- 
Uses of Deprecated in java.awt.colorMethods in java.awt.color with annotations of type DeprecatedModifier and TypeMethodDescriptionprotected voidICC_Profile.finalize()Deprecated, for removal: This API element is subject to removal in a future version.Thefinalizemethod has been deprecated.
- 
Uses of Deprecated in java.awt.datatransferFields in java.awt.datatransfer with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic DataFlavorDataFlavor.plainTextFlavorDeprecated.as of 1.3.Methods in java.awt.datatransfer with annotations of type DeprecatedModifier and TypeMethodDescriptionbooleanDeprecated.As inconsistent withhashCode()contract, useDataFlavor.isMimeTypeEqual(String)instead.protected StringDataFlavor.normalizeMimeType(String mimeType)Deprecated.This method is never invoked by this implementation from 1.1 onwardsprotected StringDataFlavor.normalizeMimeTypeParameter(String parameterName, String parameterValue)Deprecated.This method is never invoked by this implementation from 1.1 onwards
- 
Uses of Deprecated in java.awt.eventFields in java.awt.event with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic 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 in java.awt.event with annotations of type DeprecatedModifier and TypeMethodDescriptionstatic StringKeyEvent.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 in java.awt.event with annotations of type DeprecatedModifierConstructorDescriptionDeprecated.as of JDK1.1; useKeyEvent(Component, int, long, int, int, char)instead
- 
Uses of Deprecated in java.awt.imageMethods in java.awt.image with annotations of type DeprecatedModifier and TypeMethodDescriptionvoidColorModel.finalize()Deprecated, for removal: This API element is subject to removal in a future version.Thefinalizemethod has been deprecated.voidIndexColorModel.finalize()Deprecated, for removal: This API element is subject to removal in a future version.Thefinalizemethod has been deprecated.
- 
Uses of Deprecated in java.awt.image.renderableMethods in java.awt.image.renderable with annotations of type DeprecatedModifier and TypeMethodDescriptionvoidRenderContext.concetenateTransform(AffineTransform modTransform)Deprecated.replaced byconcatenateTransform(AffineTransform).voidRenderContext.preConcetenateTransform(AffineTransform modTransform)Deprecated.replaced bypreConcatenateTransform(AffineTransform).
- 
Uses of Deprecated in java.beansClasses in java.beans with annotations of type DeprecatedModifier and TypeInterfaceDescriptioninterfaceDeprecated.The Applet API is deprecated.Methods in java.beans with annotations of type DeprecatedModifier and TypeMethodDescriptionstatic ObjectBeans.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 of Deprecated in java.ioClasses in java.io with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.This class incorrectly assumes that bytes adequately represent characters.classDeprecated.This class does not properly convert characters into bytes.Methods in java.io with annotations of type DeprecatedModifier and TypeMethodDescriptionDataInputStream.readLine()Deprecated.This method does not properly convert bytes to characters.ObjectInputStream.readLine()Deprecated.This method does not properly convert bytes to characters.ByteArrayOutputStream.toString(int hibyte)Deprecated.This method does not properly convert bytes into characters.File.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 in java.io with annotations of type DeprecatedModifierConstructorDescriptionDeprecated.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 of Deprecated in java.langClasses in java.lang with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated, 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 in java.lang with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic Character.UnicodeBlockCharacter.UnicodeBlock.SURROGATES_AREADeprecated.Instead ofSURROGATES_AREA, useCharacter.UnicodeBlock.HIGH_SURROGATES,Character.UnicodeBlock.HIGH_PRIVATE_USE_SURROGATES, andCharacter.UnicodeBlock.LOW_SURROGATES.Methods in java.lang with annotations of type DeprecatedModifier and TypeMethodDescriptionbooleanThreadGroup.allowThreadSuspension(boolean b)Deprecated, for removal: This API element is subject to removal in a future version.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.This method was originally designed to count the number of stack frames but the results were never well-defined and it depended on thread-suspension.protected Class<?>ClassLoader.defineClass(byte[] b, int off, int len)Deprecated.Replaced bydefineClass(String, byte[], int, int)voidThreadGroup.destroy()Deprecated, for removal: This API element is subject to removal in a future version.The API and mechanism for destroying a ThreadGroup is inherently flawed.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.protected PackageClassLoader.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 PackagePackage.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.booleanThreadGroup.isDaemon()Deprecated, for removal: This API element is subject to removal in a future version.The API and mechanism for destroying a ThreadGroup is inherently flawed.booleanThreadGroup.isDestroyed()Deprecated, for removal: This API element is subject to removal in a future version.The API and mechanism for destroying a ThreadGroup is inherently flawed.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.Class.newInstance()Deprecated.This method propagates any exception thrown by the nullary constructor, including a checked exception.voidThread.resume()Deprecated, for removal: This API element is subject to removal in a future version.This method exists solely for use withThread.suspend(), which has been deprecated because it is deadlock-prone.voidThreadGroup.resume()Deprecated, for removal: This API element is subject to removal in a future version.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.voidThreadGroup.setDaemon(boolean daemon)Deprecated, for removal: This API element is subject to removal in a future version.The API and mechanism for destroying a ThreadGroup is inherently flawed.voidThread.stop()Deprecated.This method is inherently unsafe.voidThreadGroup.stop()Deprecated, for removal: This API element is subject to removal in a future version.This method is inherently unsafe.voidThread.suspend()Deprecated, for removal: This API element is subject to removal in a future version.This method has been deprecated, as it is inherently deadlock-prone.voidThreadGroup.suspend()Deprecated, for removal: This API element is subject to removal in a future version.This method is inherently deadlock-prone.Constructors in java.lang with annotations of type DeprecatedModifierConstructorDescriptionBoolean(boolean value)Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Byte(byte value)Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Character(char value)Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Double(double value)Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Float(double value)Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Float(float value)Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Integer(int value)Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Long(long value)Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Short(short value)Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.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 of Deprecated in java.lang.invokeMethods in java.lang.invoke with annotations of type DeprecatedModifier and TypeMethodDescriptionbooleanMethodHandles.Lookup.hasPrivateAccess()Deprecated.This method was originally designed to testPRIVATEaccess that implies full privilege access butMODULEaccess has since become independent ofPRIVATEaccess.
- 
Uses of Deprecated in java.lang.refMethods in java.lang.ref with annotations of type DeprecatedModifier and TypeMethodDescriptionbooleanReference.isEnqueued()Deprecated.This method was originally specified to test if a reference object has been cleared and enqueued but was never implemented to do this test.
- 
Uses of Deprecated in java.lang.reflectMethods in java.lang.reflect with annotations of type DeprecatedModifier and TypeMethodDescriptionstatic Class<?>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 of Deprecated in java.mathFields in java.math with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic 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 in java.math with annotations of type DeprecatedModifier and TypeMethodDescriptionBigDecimal.divide(BigDecimal divisor, int roundingMode)Deprecated.The methodBigDecimal.divide(BigDecimal, RoundingMode)should be used in preference to this legacy method.BigDecimal.divide(BigDecimal divisor, int scale, int roundingMode)Deprecated.The methodBigDecimal.divide(BigDecimal, int, RoundingMode)should be used in preference to this legacy method.BigDecimal.setScale(int newScale, int roundingMode)Deprecated.The methodBigDecimal.setScale(int, RoundingMode)should be used in preference to this legacy method.
- 
Uses of Deprecated in java.netFields in java.net with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic intHttpURLConnection.HTTP_SERVER_ERRORDeprecated.it is misplaced and shouldn't have existed.Methods in java.net with annotations of type DeprecatedModifier and TypeMethodDescriptionstatic StringDeprecated.The resulting string may vary depending on the platform's default encoding.static StringDeprecated.The resulting string may vary depending on the platform's default encoding.static StringURLConnection.getDefaultRequestProperty(String key)Deprecated.The instance specific getRequestProperty method should be used after an appropriate instance of URLConnection is obtained.MulticastSocket.getInterface()Deprecated.The network interface may not be uniquely identified by the InetAddress returned.booleanMulticastSocket.getLoopbackMode()Deprecated.protected abstract byteDatagramSocketImpl.getTTL()Deprecated.use getTimeToLive instead.byteMulticastSocket.getTTL()Deprecated.use the getTimeToLive method instead, which returns an int instead of a byte.voidMulticastSocket.joinGroup(InetAddress mcastaddr)Deprecated.This method does not accept the network interface on which to join the multicast group.voidMulticastSocket.leaveGroup(InetAddress mcastaddr)Deprecated.This method does not accept the network interface on which to leave the multicast group.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.voidMulticastSocket.setInterface(InetAddress inf)Deprecated.The InetAddress may not uniquely identify the network interface.voidMulticastSocket.setLoopbackMode(boolean disable)Deprecated.protected abstract voidDatagramSocketImpl.setTTL(byte ttl)Deprecated.use setTimeToLive instead.voidMulticastSocket.setTTL(byte ttl)Deprecated.use the setTimeToLive method instead, which uses int instead of byte as the type for ttl.protected voidDeprecated.Use setURL(URL, String, String, int, String, String, String, String);Constructors in java.net with annotations of type DeprecatedModifierConstructorDescriptionDeprecated.Use DatagramSocket instead for UDP transport.Socket(InetAddress host, int port, boolean stream)Deprecated.Use DatagramSocket instead for UDP transport.Deprecated, for removal: This API element is subject to removal in a future version.
- 
Uses of Deprecated in java.rmiClasses in java.rmi with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.UseSecurityExceptioninstead.classDeprecated.UseSecurityManagerinstead.classDeprecated.no replacementConstructors in java.rmi with annotations of type DeprecatedModifierConstructorDescriptionRMISecurityException(String name)Deprecated.no replacementRMISecurityException(String name, String arg)Deprecated.no replacementServerRuntimeException(String s, Exception ex)Deprecated.no replacement
- 
Uses of Deprecated in java.rmi.activationClasses in java.rmi.activation with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.interfaceDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.interfaceDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.interfaceDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.interfaceDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.classDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.
- 
Uses of Deprecated in java.rmi.dgcMethods in java.rmi.dgc with annotations of type Deprecated
- 
Uses of Deprecated in java.rmi.registryClasses in java.rmi.registry with annotations of type DeprecatedMethods in java.rmi.registry with annotations of type DeprecatedModifier and TypeMethodDescriptionRegistryHandler.registryImpl(int port)Deprecated.no replacement.RegistryHandler.registryStub(String host, int port)Deprecated.no replacement.
- 
Uses of Deprecated in java.rmi.serverClasses in java.rmi.server with annotations of type DeprecatedModifier and TypeInterfaceDescriptioninterfaceDeprecated.no replacementclassDeprecated.no replacementclassDeprecated.no replacementinterfaceDeprecated.no replacement.classDeprecated.Statically generated stubs are deprecated, since stubs are generated dynamically.interfaceDeprecated.No replacement.interfaceDeprecated.no replacement.classDeprecated.no replacement.classDeprecated.no replacement.classDeprecated.This class is obsolete.Fields in java.rmi.server with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic longRemoteRef.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longServerRef.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.Methods in java.rmi.server with annotations of type DeprecatedModifier and TypeMethodDescriptionvoidSkeleton.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 replacementstatic RemoteStubUnicastRemoteObject.exportObject(Remote obj)Deprecated.This method is deprecated because it supports only static stubs.static PrintStreamLogStream.getDefaultStream()Deprecated.no replacementRemoteCall.getInputStream()Deprecated.no replacementOperation.getOperation()Deprecated.no replacementSkeleton.getOperations()Deprecated.no replacementLogStream.getOutputStream()Deprecated.no replacementRemoteCall.getOutputStream()Deprecated.no replacementRemoteCall.getResultStream(boolean success)Deprecated.no replacementLoaderHandler.getSecurityContext(ClassLoader loader)Deprecated.no replacementstatic ObjectRMIClassLoader.getSecurityContext(ClassLoader loader)Deprecated.no replacement.voidRemoteRef.invoke(RemoteCall call)Deprecated.1.2 style stubs no longer use this method.Class<?>Deprecated.no replacementClass<?>Deprecated.no replacementstatic Class<?>Deprecated.replaced byloadClass(String,String)methodstatic LogStreamDeprecated.no replacementRemoteRef.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.LogStream.toString()Deprecated.no replacementOperation.toString()Deprecated.no replacementvoidLogStream.write(byte[] b, int off, int len)Deprecated.no replacementvoidLogStream.write(int b)Deprecated.no replacementConstructors in java.rmi.server with annotations of type DeprecatedModifierConstructorDescriptionDeprecated.no replacementDeprecated.no replacement
- 
Uses of Deprecated in java.securityClasses in java.security with annotations of type DeprecatedModifier and TypeInterfaceDescriptioninterfaceDeprecated, 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.classDeprecated, 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.classDeprecated, 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.classDeprecated, 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.Fields in java.security with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic longKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longPrivateKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longPublicKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.Methods in java.security with annotations of type DeprecatedModifier and TypeMethodDescriptionprotected abstract ObjectSignatureSpi.engineGetParameter(String param)Deprecated.protected abstract voidSignatureSpi.engineSetParameter(String param, Object value)Deprecated.Replaced byengineSetParameter.static StringSecurity.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.Signature.getParameter(String param)Deprecated.doubleProvider.getVersion()Deprecated.useProvider.getVersionStr()instead.voidSignature.setParameter(String param, Object value)Deprecated.UsesetParameter.Constructors in java.security with annotations of type DeprecatedModifierConstructorDescriptionprotectedAuthProvider(String name, double version, String info)Deprecated.useAuthProvider(String, String, String)instead.protectedDeprecated.useProvider(String, String, String)instead.
- 
Uses of Deprecated in java.security.certMethods in java.security.cert with annotations of type DeprecatedModifier and TypeMethodDescriptionvoidX509CRLSelector.addIssuerName(String name)Deprecated.X509CertSelector.getIssuerAsString()Deprecated.UseX509CertSelector.getIssuer()orX509CertSelector.getIssuerAsBytes()instead.abstract PrincipalX509Certificate.getIssuerDN()Deprecated.UseX509Certificate.getIssuerX500Principal()instead.abstract PrincipalX509CRL.getIssuerDN()Deprecated.UseX509CRL.getIssuerX500Principal()instead.X509CertSelector.getSubjectAsString()Deprecated.UseX509CertSelector.getSubject()orX509CertSelector.getSubjectAsBytes()instead.abstract PrincipalX509Certificate.getSubjectDN()Deprecated.UseX509Certificate.getSubjectX500Principal()instead.voidDeprecated.voidX509CertSelector.setSubject(String subjectDN)Deprecated.
- 
Uses of Deprecated in java.security.interfacesFields in java.security.interfaces with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic longDSAPrivateKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longDSAPublicKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longECPrivateKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longECPublicKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longRSAMultiPrimePrivateCrtKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longRSAPrivateCrtKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longRSAPrivateKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longRSAPublicKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.
- 
Uses of Deprecated in java.sqlMethods in java.sql with annotations of type DeprecatedModifier and TypeMethodDescriptionCallableStatement.getBigDecimal(int parameterIndex, int scale)Deprecated.usegetBigDecimal(int parameterIndex)orgetBigDecimal(String parameterName)ResultSet.getBigDecimal(int columnIndex, int scale)Deprecated.UsegetBigDecimal(int columnIndex)orgetBigDecimal(String columnLabel)ResultSet.getBigDecimal(String columnLabel, int scale)Deprecated.UsegetBigDecimal(int columnIndex)orgetBigDecimal(String columnLabel)intTime.getDate()Deprecated.intTime.getDay()Deprecated.intDate.getHours()Deprecated.static PrintStreamDriverManager.getLogStream()Deprecated.UsegetLogWriterintDate.getMinutes()Deprecated.intTime.getMonth()Deprecated.intDate.getSeconds()Deprecated.ResultSet.getUnicodeStream(int columnIndex)Deprecated.usegetCharacterStreamin place ofgetUnicodeStreamResultSet.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 in java.sql with annotations of type DeprecatedModifierConstructorDescriptionDate(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 of Deprecated in java.utilClasses in java.util with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.This class and theObserverinterface have been deprecated.interfaceDeprecated.This interface has been deprecated.Methods in java.util with annotations of type DeprecatedModifier and TypeMethodDescriptionintDate.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 longDeprecated.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).Date.toGMTString()Deprecated.As of JDK version 1.1, replaced byDateFormat.format(Date date), using a GMTTimeZone.Date.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 in java.util with annotations of type DeprecatedModifierConstructorDescriptionDate(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).Deprecated.As of JDK version 1.1, replaced byDateFormat.parse(String s).
- 
Uses of Deprecated in java.util.concurrentMethods in java.util.concurrent with annotations of type Deprecated
- 
Uses of Deprecated in java.util.concurrent.atomicMethods in java.util.concurrent.atomic with annotations of type DeprecatedModifier and TypeMethodDescriptionbooleanAtomicBoolean.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 of Deprecated in java.util.jarFields in java.util.jar with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic Attributes.NameAttributes.Name.EXTENSION_INSTALLATIONDeprecated.Extension mechanism is no longer supported.static Attributes.NameAttributes.Name.IMPLEMENTATION_URLDeprecated.Extension mechanism is no longer supported.static Attributes.NameAttributes.Name.IMPLEMENTATION_VENDOR_IDDeprecated.Extension mechanism is no longer supported.
- 
Uses of Deprecated in java.util.loggingClasses in java.util.logging with annotations of type DeprecatedModifier and TypeInterfaceDescriptioninterfaceDeprecated.Fields in java.util.logging with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic LoggerLogger.globalDeprecated.Initialization of this field is prone to deadlocks.Methods in java.util.logging with annotations of type DeprecatedModifier and TypeMethodDescriptionstatic LoggingMXBeanLogManager.getLoggingMXBean()Deprecated.java.util.logging.LoggingMXBeanis deprecated and replaced withjava.lang.management.PlatformLoggingMXBean.intLogRecord.getThreadID()Deprecated.Values returned by this method may be synthesized, and may not correspond to the actual thread id, useLogRecord.getLongThreadID()instead.voidvoidLogger.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.voidLogRecord.setThreadID(int threadID)Deprecated.This method doesn't allow to pass a long thread id, useLogRecord.setLongThreadID(long)instead.
- 
Uses of Deprecated in javax.accessibilityClasses in javax.accessibility with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.This class is deprecated as of version 1.3 of the Java Platform
- 
Uses of Deprecated in javax.cryptoFields in javax.crypto with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic longSecretKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.
- 
Uses of Deprecated in javax.crypto.interfacesFields in javax.crypto.interfaces with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic longDHPrivateKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longDHPublicKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.static longPBEKey.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.
- 
Uses of Deprecated in javax.imageio.spiFields in javax.imageio.spi with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic Class<?>[]ImageReaderSpi.STANDARD_INPUT_TYPEDeprecated.Instead of using this field, directly create the equivalent array{ ImageInputStream.class }.static Class<?>[]ImageWriterSpi.STANDARD_OUTPUT_TYPEDeprecated.Instead of using this field, directly create the equivalent array{ ImageOutputStream.class }.Methods in javax.imageio.spi with annotations of type DeprecatedModifier and TypeMethodDescriptionvoidServiceRegistry.finalize()Deprecated.Thefinalizemethod has been deprecated.
- 
Uses of Deprecated in javax.imageio.streamMethods in javax.imageio.stream with annotations of type DeprecatedModifier and TypeMethodDescriptionprotected 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 of Deprecated in javax.lang.model.utilConstructors in javax.lang.model.util with annotations of type DeprecatedModifierConstructorDescriptionprotectedDeprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedElementKindVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedElementKindVisitor7(R defaultValue)Deprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedElementScanner6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedElementScanner7(R defaultValue)Deprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedSimpleAnnotationValueVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedSimpleAnnotationValueVisitor7(R defaultValue)Deprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedSimpleElementVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedSimpleElementVisitor7(R defaultValue)Deprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedSimpleTypeVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedSimpleTypeVisitor7(R defaultValue)Deprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedTypeKindVisitor6(R defaultValue)Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.protectedDeprecated.Release 7 is obsolete; update to a visitor for a newer release level.protectedTypeKindVisitor7(R defaultValue)Deprecated.Release 7 is obsolete; update to a visitor for a newer release level.
- 
Uses of Deprecated in javax.managementClasses in javax.management with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.UseMBeanServer.getClassLoaderRepository()instead.Methods in javax.management with annotations of type DeprecatedModifier and TypeMethodDescriptiondefault ObjectInputStreamMBeanServer.deserialize(String className, byte[] data)Deprecated.UseMBeanServer.getClassLoaderRepository()to obtain the class loader repository and use it to deserialize.default ObjectInputStreamMBeanServer.deserialize(String className, ObjectName loaderName, byte[] data)Deprecated.UsegetClassLoaderto obtain the class loader for deserialization.default ObjectInputStreamMBeanServer.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 in javax.management with annotations of type DeprecatedModifierConstructorDescriptionDeprecated.An instance created with this constructor cannot be used in a query.
- 
Uses of Deprecated in javax.management.loadingClasses in javax.management.loading with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.UseMBeanServer.getClassLoaderRepository()instead.
- 
Uses of Deprecated in javax.management.monitorFields in javax.management.monitor with annotations of type DeprecatedModifier and TypeFieldDescriptionprotected intMonitor.alreadyNotifiedDeprecated.equivalent toMonitor.alreadyNotifieds[0].protected StringMonitor.dbgTagDeprecated.No replacement.Methods in javax.management.monitor with annotations of type DeprecatedModifier and TypeMethodDescriptionCounterMonitor.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byCounterMonitor.getDerivedGauge(ObjectName)CounterMonitorMBean.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.getDerivedGauge(ObjectName)GaugeMonitor.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byGaugeMonitor.getDerivedGauge(ObjectName)GaugeMonitorMBean.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byGaugeMonitorMBean.getDerivedGauge(ObjectName)StringMonitor.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byStringMonitor.getDerivedGauge(ObjectName)StringMonitorMBean.getDerivedGauge()Deprecated.As of JMX 1.2, replaced byStringMonitorMBean.getDerivedGauge(ObjectName)longCounterMonitor.getDerivedGaugeTimeStamp()Deprecated.As of JMX 1.2, replaced byCounterMonitor.getDerivedGaugeTimeStamp(ObjectName)longCounterMonitorMBean.getDerivedGaugeTimeStamp()Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.getDerivedGaugeTimeStamp(ObjectName)longGaugeMonitor.getDerivedGaugeTimeStamp()Deprecated.As of JMX 1.2, replaced byGaugeMonitor.getDerivedGaugeTimeStamp(ObjectName)longGaugeMonitorMBean.getDerivedGaugeTimeStamp()Deprecated.As of JMX 1.2, replaced byGaugeMonitorMBean.getDerivedGaugeTimeStamp(ObjectName)longStringMonitor.getDerivedGaugeTimeStamp()Deprecated.As of JMX 1.2, replaced byStringMonitor.getDerivedGaugeTimeStamp(ObjectName)longStringMonitorMBean.getDerivedGaugeTimeStamp()Deprecated.As of JMX 1.2, replaced byStringMonitorMBean.getDerivedGaugeTimeStamp(ObjectName)Monitor.getObservedObject()Deprecated.As of JMX 1.2, replaced byMonitor.getObservedObjects()MonitorMBean.getObservedObject()Deprecated.As of JMX 1.2, replaced byMonitorMBean.getObservedObjects()CounterMonitor.getThreshold()Deprecated.As of JMX 1.2, replaced byCounterMonitor.getThreshold(ObjectName)CounterMonitorMBean.getThreshold()Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.getThreshold(ObjectName)voidMonitor.setObservedObject(ObjectName object)Deprecated.As of JMX 1.2, replaced byMonitor.addObservedObject(javax.management.ObjectName)voidMonitorMBean.setObservedObject(ObjectName object)Deprecated.As of JMX 1.2, replaced byMonitorMBean.addObservedObject(javax.management.ObjectName)voidCounterMonitor.setThreshold(Number value)Deprecated.As of JMX 1.2, replaced byCounterMonitor.setInitThreshold(java.lang.Number)voidCounterMonitorMBean.setThreshold(Number value)Deprecated.As of JMX 1.2, replaced byCounterMonitorMBean.setInitThreshold(java.lang.Number)
- 
Uses of Deprecated in javax.management.openmbeanFields in javax.management.openmbean with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic String[]OpenType.ALLOWED_CLASSNAMESDeprecated.UseALLOWED_CLASSNAMES_LISTinstead.
- 
Uses of Deprecated in javax.management.relationConstructors in javax.management.relation with annotations of type DeprecatedModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.
- 
Uses of Deprecated in javax.management.remote.rmiClasses in javax.management.remote.rmi with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.This transport is no longer supported.
- 
Uses of Deprecated in javax.namingFields in javax.naming with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic StringContext.APPLETDeprecated.An environment property with this name is ignored while constructing an initial context.static longName.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.
- 
Uses of Deprecated in javax.naming.directoryFields in javax.naming.directory with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic longAttribute.serialVersionUIDDeprecated.AserialVersionUIDfield in an interface is ineffectual.
- 
Uses of Deprecated in javax.net.sslMethods in javax.net.ssl with annotations of type DeprecatedModifier and TypeMethodDescriptionHandshakeCompletedEvent.getPeerCertificateChain()Deprecated, for removal: This API element is subject to removal in a future version.TheHandshakeCompletedEvent.getPeerCertificates()method that returns an array ofjava.security.cert.Certificateshould be used instead.default X509Certificate[]SSLSession.getPeerCertificateChain()Deprecated, for removal: This API element is subject to removal in a future version.TheSSLSession.getPeerCertificates()method that returns an array ofjava.security.cert.Certificateshould be used instead.
- 
Uses of Deprecated in javax.security.certClasses in javax.security.cert with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.certinstead.classDeprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.certinstead.classDeprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.certinstead.classDeprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.certinstead.classDeprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.certinstead.classDeprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.certinstead.classDeprecated, for removal: This API element is subject to removal in a future version.Use the classes injava.security.certinstead.
- 
Uses of Deprecated in javax.sql.rowsetFields in javax.sql.rowset with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic booleanCachedRowSet.COMMIT_ON_ACCEPT_CHANGESDeprecated.Because this field is final (it is part of an interface), its value cannot be changed.Methods in javax.sql.rowset with annotations of type DeprecatedModifier and TypeMethodDescriptionvoidBaseRowSet.setUnicodeStream(int parameterIndex, InputStream x, int length)Deprecated.getCharacterStream should be used in its place
- 
Uses of Deprecated in javax.swingClasses in javax.swing with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.The Applet API is deprecated, no replacement.protected classDeprecated.This class is no longer used or needed.Fields in javax.swing with annotations of type DeprecatedModifier and TypeFieldDescriptionprotected FocusListenerJComponent.AccessibleJComponent.accessibleFocusHandlerDeprecated.protected booleanJViewport.backingStoreDeprecated.As of Java 2 platform v1.3protected static ComponentImageIcon.componentDeprecated.since 1.8protected static MediaTrackerImageIcon.trackerDeprecated.since 1.8Methods in javax.swing with annotations of type DeprecatedModifier and TypeMethodDescriptionvoidRepaintManager.addDirtyRegion(Applet applet, int x, int y, int w, int h)Deprecated.The Applet API is deprecated.static JScrollPaneJTable.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).static ComponentSwingUtilities.findFocusOwner(Component c)Deprecated.As of 1.4, replaced byKeyboardFocusManager.getFocusOwner().JMenuBar.getComponentAtIndex(int i)Deprecated.replaced bygetComponent(int i)JPopupMenu.getComponentAtIndex(int i)Deprecated.replaced byContainer.getComponent(int)static KeyStrokeKeyStroke.getKeyStroke(char keyChar, boolean onKeyRelease)Deprecated.use getKeyStroke(char)AbstractButton.getLabel()Deprecated.- Replaced bygetTextJInternalFrame.getMenuBar()Deprecated.As of Swing version 1.0.3, replaced bygetJMenuBar().JRootPane.getMenuBar()Deprecated.As of Swing version 1.0.3 replaced bygetJMenuBar().JComponent.getNextFocusableComponent()Deprecated.As of 1.4, replaced byFocusTraversalPolicy.Object[]JList.getSelectedValues()Deprecated.As of JDK 1.7, replaced byJList.getSelectedValuesList()JPasswordField.getText()Deprecated.As of Java 2 platform v1.2, replaced bygetPassword.JPasswordField.getText(int offs, int len)Deprecated.As of Java 2 platform v1.2, replaced bygetPassword.ScrollPaneLayout.getViewportBorderBounds(JScrollPane scrollpane)Deprecated.As of JDK version Swing1.1 replaced byJScrollPane.getViewportBorderBounds().voidJComponent.hide()Deprecated.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().voidDeprecated.- 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 of Deprecated in javax.swing.plafMethods in javax.swing.plaf with annotations of type DeprecatedModifier and TypeMethodDescriptionTextUI.getToolTipText(JTextComponent t, Point pt)Deprecated.replaced byTextUI.getToolTipText2D(JTextComponent, Point2D)abstract RectangleTextUI.modelToView(JTextComponent t, int pos)Deprecated.abstract RectangleTextUI.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 of Deprecated in javax.swing.plaf.basicFields in javax.swing.plaf.basic with annotations of type DeprecatedModifier and TypeFieldDescriptionprotected KeyStrokeBasicDesktopPaneUI.closeKeyDeprecated.As of 1.3.protected KeyStrokeBasicSplitPaneUI.dividerResizeToggleKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicSplitPaneUI.downKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicTabbedPaneUI.downKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicToolBarUI.downKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicSplitPaneUI.endKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicSplitPaneUI.homeKeyDeprecated.As of Java 2 platform v1.3.protected ActionListenerBasicSplitPaneUI.keyboardDownRightListenerDeprecated.As of Java 2 platform v1.3.protected ActionListenerBasicSplitPaneUI.keyboardEndListenerDeprecated.As of Java 2 platform v1.3.protected ActionListenerBasicSplitPaneUI.keyboardHomeListenerDeprecated.As of Java 2 platform v1.3.protected ActionListenerBasicSplitPaneUI.keyboardResizeToggleListenerDeprecated.As of Java 2 platform v1.3.protected ActionListenerBasicSplitPaneUI.keyboardUpLeftListenerDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicSplitPaneUI.leftKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicTabbedPaneUI.leftKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicToolBarUI.leftKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicDesktopPaneUI.maximizeKeyDeprecated.As of 1.3.protected KeyStrokeBasicDesktopPaneUI.minimizeKeyDeprecated.As of 1.3.protected KeyStrokeBasicDesktopPaneUI.navigateKeyDeprecated.As of 1.3.protected KeyStrokeBasicDesktopPaneUI.navigateKey2Deprecated.As of 1.3.protected KeyStrokeBasicInternalFrameUI.openMenuKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicSplitPaneUI.rightKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicTabbedPaneUI.rightKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicToolBarUI.rightKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicSplitPaneUI.upKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicTabbedPaneUI.upKeyDeprecated.As of Java 2 platform v1.3.protected KeyStrokeBasicToolBarUI.upKeyDeprecated.As of Java 2 platform v1.3.Methods in javax.swing.plaf.basic with annotations of type DeprecatedModifier and TypeMethodDescriptionprotected ActionListenerBasicSplitPaneUI.createKeyboardDownRightListener()Deprecated.As of Java 2 platform v1.3.protected ActionListenerBasicSplitPaneUI.createKeyboardEndListener()Deprecated.As of Java 2 platform v1.3.protected ActionListenerBasicSplitPaneUI.createKeyboardHomeListener()Deprecated.As of Java 2 platform v1.3.protected ActionListenerBasicSplitPaneUI.createKeyboardResizeToggleListener()Deprecated.As of Java 2 platform v1.3.protected ActionListenerBasicSplitPaneUI.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.BasicTextUI.modelToView(JTextComponent tc, int pos)Deprecated.BasicTextUI.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 of Deprecated in javax.swing.plaf.metalClasses in javax.swing.plaf.metal with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.As of Java 2 platform v1.4.protected classDeprecated.As of JDK version 9.protected classDeprecated.As of JDK version 9.Methods in javax.swing.plaf.metal with annotations of type DeprecatedModifier and TypeMethodDescriptionprotected 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 of Deprecated in javax.swing.plaf.multiMethods in javax.swing.plaf.multi with annotations of type DeprecatedModifier and TypeMethodDescriptionMultiTextUI.modelToView(JTextComponent a, int b)Deprecated.MultiTextUI.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 of Deprecated in javax.swing.tableFields in javax.swing.table with annotations of type DeprecatedModifier and TypeFieldDescriptionprotected intTableColumn.resizedPostingDisableCountDeprecated.as of Java 2 platform v1.3Methods in javax.swing.table with annotations of type DeprecatedModifier and TypeMethodDescriptionvoidTableColumn.disableResizedPosting()Deprecated.as of Java 2 platform v1.3voidTableColumn.enableResizedPosting()Deprecated.as of Java 2 platform v1.3
- 
Uses of Deprecated in javax.swing.textClasses in javax.swing.text with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.classDeprecated.A table cell can now be any View implementation.Methods in javax.swing.text with annotations of type DeprecatedModifier and TypeMethodDescriptionprotected TableView.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 voidDeprecated.protected voidDeprecated.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.protected FontMetricsLabelView.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)Deprecated.static intUtilities.getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset, boolean round)Deprecated.static intUtilities.getTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset)Deprecated.JTextComponent.modelToView(int pos)Deprecated.replaced byJTextComponent.modelToView2D(int)View.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 of Deprecated in javax.swing.text.htmlFields in javax.swing.text.html with annotations of type DeprecatedModifier and TypeFieldDescriptionstatic StringFormView.RESETDeprecated.As of 1.3, value comes from UIManager UIManager property FormView.resetButtonTextstatic StringFormView.SUBMITDeprecated.As of 1.3, value now comes from UIManager property FormView.submitButtonTextMethods in javax.swing.text.html with annotations of type DeprecatedModifier and TypeMethodDescriptionprotected 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 insertAtBoundary
- 
Uses of Deprecated in javax.swing.treeMethods in javax.swing.tree with annotations of type DeprecatedModifier and TypeMethodDescriptionprotected voidDefaultTreeSelectionModel.notifyPathChange(Vector<?> changedPaths, TreePath oldLeadSelection)Deprecated.As of JDK version 1.7
- 
Uses of Deprecated in javax.toolsMethods in javax.tools with annotations of type DeprecatedModifier and TypeMethodDescriptiondefault Iterable<? extends JavaFileObject>StandardJavaFileManager.getJavaFileObjectsFromPaths(Iterable<? extends Path> paths)Deprecated.useStandardJavaFileManager.getJavaFileObjectsFromPaths(Collection)instead, to prevent the possibility of accidentally calling the method with a singlePathas such an argument.static ClassLoaderToolProvider.getSystemToolClassLoader()Deprecated.This method is subject to removal in a future version of Java SE.
- 
Uses of Deprecated in javax.xml.streamMethods in javax.xml.stream with annotations of type DeprecatedModifier and TypeMethodDescriptionstatic XMLEventFactoryXMLEventFactory.newInstance(String factoryId, ClassLoader classLoader)Deprecated.This method has been deprecated to maintain API consistency.static XMLInputFactoryXMLInputFactory.newInstance(String factoryId, ClassLoader classLoader)Deprecated.This method has been deprecated to maintain API consistency.static XMLInputFactoryXMLOutputFactory.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 of Deprecated in jdk.netClasses in jdk.net with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.Java SE 9 added standard methods to set/get socket options, and retrieve the per-Socket supported options effectively rendering this API redundant.Methods in jdk.net with annotations of type DeprecatedModifier and TypeMethodDescriptionstatic <T> TSockets.getOption(DatagramSocket s, SocketOption<T> name)Deprecated.useDatagramSocket.getOption(SocketOption)instead.static <T> TSockets.getOption(ServerSocket s, SocketOption<T> name)Deprecated.useServerSocket.getOption(SocketOption)instead.static <T> TSockets.getOption(Socket s, SocketOption<T> name)Deprecated.useSocket.getOption(SocketOption)instead.static <T> voidSockets.setOption(DatagramSocket s, SocketOption<T> name, T value)Deprecated.useDatagramSocket.setOption(SocketOption, Object)instead.static <T> voidSockets.setOption(ServerSocket s, SocketOption<T> name, T value)Deprecated.useServerSocket.setOption(SocketOption, Object)instead.static <T> voidSockets.setOption(Socket s, SocketOption<T> name, T value)Deprecated.useSocket.setOption(SocketOption, Object)instead.static Set<SocketOption<?>>Sockets.supportedOptions(Class<?> socketType)Deprecated, for removal: This API element is subject to removal in a future version.
- 
Uses of Deprecated in org.ietf.jgssMethods in org.ietf.jgss with annotations of type DeprecatedModifier and TypeMethodDescriptionvoidGSSContext.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 of Deprecated in org.xml.saxClasses in org.xml.sax with annotations of type DeprecatedModifier and TypeInterfaceDescriptioninterfaceDeprecated.This interface has been replaced by the SAX2Attributesinterface, which includes Namespace support.interfaceDeprecated.This interface has been replaced by the SAX2ContentHandlerinterface, which includes Namespace support.classDeprecated.This class works with the deprecatedDocumentHandlerinterface.interfaceDeprecated.This interface has been replaced by the SAX2XMLReaderinterface, which includes Namespace support.
- 
Uses of Deprecated in org.xml.sax.helpersClasses in org.xml.sax.helpers with annotations of type DeprecatedModifier and TypeClassDescriptionclassDeprecated.This class implements a deprecated interface,AttributeList; that interface has been replaced byAttributes, which is implemented in theAttributesImplhelper class.classDeprecated.This class works with the deprecatedParserinterface.classDeprecated.It is recommended to useSAXParserFactoryinstead.