Uses of Class
java.lang.Deprecated
-
Packages that use Deprecated Package Description com.sun.jarsigner This package comprises the interfaces and classes used to define the signing mechanism used by thejarsigner
tool.com.sun.java.accessibility.util Provides a collection of interfaces and classes that compose the Java Accessibility Utilities.com.sun.javadoc Note: The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.com.sun.jdi This is the core package of the Java Debug Interface (JDI), it defines mirrors for values, types, and the target VirtualMachine itself - as well bootstrapping facilities.com.sun.tools.javadoc This package and its contents are deprecated and may be removed in a future release.java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.color Provides classes for color spaces.java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications.java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components.java.awt.image Provides classes for creating and modifying images.java.awt.image.renderable Provides classes and interfaces for producing rendering-independent images.java.beans Contains classes related to developing beans -- components based on the JavaBeans™ architecture.java.io Provides for system input and output through data streams, serialization and the file system.java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects.java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger
) and arbitrary-precision decimal arithmetic (BigDecimal
).java.net Provides the classes for implementing networking applications.java.rmi Provides the RMI package.java.rmi.dgc Provides classes and interface for RMI distributed garbage-collection (DGC).java.rmi.registry Provides a class and two interfaces for the RMI registry.java.rmi.server Provides classes and interfaces for supporting the server side of RMI.java.security Provides the classes and interfaces for the security framework.java.security.acl The classes and interfaces in this package have been deprecated.java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java™ programming language.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.concurrent Utility classes commonly useful in concurrent programming.java.util.concurrent.atomic A small toolkit of classes that support lock-free thread-safe programming on single variables.java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.java.util.logging Provides the classes and interfaces of the Java™ 2 platform's core logging facilities.java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats.javafx.css Provides API for making properties styleable via CSS and for supporting pseudo-class state.javafx.event Provides basic framework for FX events, their delivery and handling.javafx.fxml Contains classes for loading an object hierarchy from markup.javafx.scene.control The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts.javafx.scene.input Provides the set of classes for mouse and keyboard input event handling.javafx.scene.layout Provides classes to support user interface layout.javafx.scene.media Provides the set of classes for integrating audio and video into Java FX Applications.javafx.util Contains various utilities and helper classes.javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components.javax.imageio.spi A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry.javax.imageio.stream A package of the Java Image I/O API dealing with low-level I/O from files and streams.javax.jws javax.jws.soap javax.lang.model.util Utilities to assist in the processing of program elements and types.javax.management Provides the core classes for the Java Management Extensions.javax.management.loading Provides the classes which implement advanced dynamic loading.javax.management.monitor Provides the definition of the monitor classes.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.javax.management.remote.rmi The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.javax.naming Provides the classes and interfaces for accessing naming services.javax.net.ssl Provides classes for the secure socket package.javax.security.auth This package provides a framework for authentication and authorization.javax.security.cert Provides classes for public key certificates.javax.sql.rowset Standard interfaces and base classes for JDBCRowSet
implementations.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel.javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.javax.swing.plaf.multi Provides user interface objects that combine two or more look and feels.javax.swing.table Provides classes and interfaces for dealing withjavax.swing.JTable
.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.javax.swing.text.html Provides the classHTMLEditorKit
and supporting classes for creating HTML text editors.javax.swing.tree Provides classes and interfaces for dealing withjavax.swing.JTree
.javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers.javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.javax.xml.stream Defines interfaces and classes for the Streaming API for XML (StAX).jdk.management.cmm This package contains the interfaces for the Cooperative Memory Management ("CMM") feature.jdk.management.resource Resource tracking contexts, meters, and factories.jdk.nashorn.api.scripting This package provides thejavax.script
integration, which is the preferred way to use Nashorn.netscape.javascript Provides Java code the ability to access the JavaScript engine and the HTML DOM in the web browser.org.omg.CORBA Provides the mapping of the OMG CORBA APIs to the Java™ programming language, including the classORB
, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB).org.omg.CORBA.portable Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB.org.xml.sax Provides the core SAX APIs.org.xml.sax.helpers Provides helper classes, including support for bootstrapping SAX-based applications. -
-
Uses of Deprecated in com.sun.jarsigner
Classes in com.sun.jarsigner with annotations of type Deprecated Modifier and Type Class Description class
ContentSigner
Deprecated.This class has been deprecated.interface
ContentSignerParameters
Deprecated.This class has been deprecated. -
Uses of Deprecated in com.sun.java.accessibility.util
Fields in com.sun.java.accessibility.util with annotations of type Deprecated Modifier and Type Field Description protected static ActionListener
AWTEventMonitor. actionListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static AdjustmentListener
AWTEventMonitor. adjustmentListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static ComponentListener
AWTEventMonitor. componentListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static Component
AWTEventMonitor. componentWithFocus
Deprecated, 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 ContainerListener
AWTEventMonitor. containerListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static FocusListener
AWTEventMonitor. focusListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static ItemListener
AWTEventMonitor. itemListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static KeyListener
AWTEventMonitor. keyListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static MouseListener
AWTEventMonitor. mouseListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static MouseMotionListener
AWTEventMonitor. mouseMotionListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static TextListener
AWTEventMonitor. textListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused.protected static WindowListener
AWTEventMonitor. windowListener
Deprecated, for removal: This API element is subject to removal in a future version.This field is unused. -
Uses of Deprecated in com.sun.javadoc
Classes in com.sun.javadoc with annotations of type Deprecated Modifier and Type Interface Description interface
AnnotatedType
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
AnnotationDesc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.static interface
AnnotationDesc.ElementValuePair
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
AnnotationTypeDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
AnnotationTypeElementDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
AnnotationValue
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
ClassDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
ConstructorDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
Doc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
DocErrorReporter
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.class
Doclet
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
ExecutableMemberDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
FieldDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.class
LanguageVersion
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
MemberDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
MethodDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
PackageDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
Parameter
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
ParameterizedType
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
ParamTag
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
ProgramElementDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
RootDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
SeeTag
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
SerialFieldTag
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
SourcePosition
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
Tag
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
ThrowsTag
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
Type
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
TypeVariable
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.interface
WildcardType
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet
.Methods in com.sun.javadoc with annotations of type Deprecated Modifier and Type Method Description ClassDoc[]
ClassDoc. importedClasses()
Deprecated.Import declarations are implementation details that should not be exposed here.PackageDoc[]
ClassDoc. importedPackages()
Deprecated.Import declarations are implementation details that should not be exposed here. -
Uses of Deprecated in com.sun.jdi
Classes in com.sun.jdi with annotations of type Deprecated Modifier and Type Class Description class
InvalidCodeIndexException
Deprecated.This exception is no longer thrownclass
InvalidLineNumberException
Deprecated.This exception is no longer thrown -
Uses of Deprecated in com.sun.tools.javadoc
Classes in com.sun.tools.javadoc with annotations of type Deprecated Modifier and Type Class Description class
Main
Deprecated.This class is now deprecated and may be removed in a future release. -
Uses of Deprecated in java.applet
Classes in java.applet with annotations of type Deprecated Modifier and Type Class Description class
Applet
Deprecated.The Applet API is deprecated.interface
AppletContext
Deprecated.The Applet API is deprecated.interface
AppletStub
Deprecated.The Applet API is deprecated.interface
AudioClip
Deprecated.The Applet API is deprecated. -
Uses of Deprecated in java.awt
Classes in java.awt with annotations of type Deprecated Modifier and Type Class Description class
Event
Deprecated.It is recommended thatAWTEvent
and its subclasses be used insteadFields in java.awt with annotations of type Deprecated Modifier and Type Field Description static int
Frame. CROSSHAIR_CURSOR
Deprecated.replaced byCursor.CROSSHAIR_CURSOR
.static int
Frame. DEFAULT_CURSOR
Deprecated.replaced byCursor.DEFAULT_CURSOR
.static int
Frame. E_RESIZE_CURSOR
Deprecated.replaced byCursor.E_RESIZE_CURSOR
.static int
Frame. HAND_CURSOR
Deprecated.replaced byCursor.HAND_CURSOR
.static int
Frame. MOVE_CURSOR
Deprecated.replaced byCursor.MOVE_CURSOR
.static int
Frame. N_RESIZE_CURSOR
Deprecated.replaced byCursor.N_RESIZE_CURSOR
.static int
Frame. NE_RESIZE_CURSOR
Deprecated.replaced byCursor.NE_RESIZE_CURSOR
.static int
Frame. NW_RESIZE_CURSOR
Deprecated.replaced byCursor.NW_RESIZE_CURSOR
.protected static Cursor[]
Cursor. predefined
Deprecated.As of JDK version 1.7, theCursor.getPredefinedCursor(int)
method should be used instead.static int
Frame. S_RESIZE_CURSOR
Deprecated.replaced byCursor.S_RESIZE_CURSOR
.static int
Frame. SE_RESIZE_CURSOR
Deprecated.replaced byCursor.SE_RESIZE_CURSOR
.static int
Frame. SW_RESIZE_CURSOR
Deprecated.replaced byCursor.SW_RESIZE_CURSOR
.static int
Frame. TEXT_CURSOR
Deprecated.replaced byCursor.TEXT_CURSOR
.static int
Frame. W_RESIZE_CURSOR
Deprecated.replaced byCursor.W_RESIZE_CURSOR
.static int
Frame. WAIT_CURSOR
Deprecated.replaced byCursor.WAIT_CURSOR
.Methods in java.awt with annotations of type Deprecated Modifier and Type Method Description boolean
Component. action(Event evt, Object what)
Deprecated.As of JDK version 1.1, should register this component as ActionListener on component which fires action events.void
List. addItem(String item)
Deprecated.replaced byadd(String)
.void
List. addItem(String item, int index)
Deprecated.replaced byadd(String, int)
.void
BorderLayout. addLayoutComponent(String name, Component comp)
Deprecated.replaced byaddLayoutComponent(Component, Object)
.void
CardLayout. addLayoutComponent(String name, Component comp)
Deprecated.replaced byaddLayoutComponent(Component, Object)
.boolean
List. allowsMultipleSelections()
Deprecated.As of JDK version 1.1, replaced byisMultipleMode()
.void
TextArea. appendText(String str)
Deprecated.As of JDK version 1.1, replaced byappend(String)
.void
Window. applyResourceBundle(String rbName)
Deprecated.As of J2SE 1.4, replaced byComponent.applyComponentOrientation
.void
Window. applyResourceBundle(ResourceBundle rb)
Deprecated.As of J2SE 1.4, replaced byComponent.applyComponentOrientation
.Rectangle
Component. bounds()
Deprecated.As of JDK version 1.1, replaced bygetBounds()
.void
List. clear()
Deprecated.As of JDK version 1.1, replaced byremoveAll()
.int
Container. countComponents()
Deprecated.As of JDK version 1.1, replaced by getComponentCount().int
Choice. countItems()
Deprecated.As of JDK version 1.1, replaced bygetItemCount()
.int
List. countItems()
Deprecated.As of JDK version 1.1, replaced bygetItemCount()
.int
Menu. countItems()
Deprecated.As of JDK version 1.1, replaced bygetItemCount()
.int
MenuBar. countMenus()
Deprecated.As of JDK version 1.1, replaced bygetMenuCount()
.void
List. delItem(int position)
Deprecated.replaced byremove(String)
andremove(int)
.void
List. delItems(int start, int end)
Deprecated.As of JDK version 1.1, Not for public use in the future.void
Component. deliverEvent(Event e)
Deprecated.As of JDK version 1.1, replaced bydispatchEvent(AWTEvent e)
.void
Container. deliverEvent(Event e)
Deprecated.As of JDK version 1.1, replaced bydispatchEvent(AWTEvent e)
void
Component. disable()
Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean)
.void
MenuItem. disable()
Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean)
.void
Component. enable()
Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean)
.void
Component. enable(boolean b)
Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean)
.void
MenuItem. enable()
Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean)
.void
MenuItem. enable(boolean b)
Deprecated.As of JDK version 1.1, replaced bysetEnabled(boolean)
.void
Graphics. finalize()
Deprecated.Thefinalize
method has been deprecated.void
PrintJob. finalize()
Deprecated.Thefinalize
method has been deprecated.Rectangle
Polygon. getBoundingBox()
Deprecated.As of JDK version 1.1, replaced bygetBounds()
.Rectangle
Graphics. getClipRect()
Deprecated.As of JDK version 1.1, replaced bygetClipBounds()
.Checkbox
CheckboxGroup. getCurrent()
Deprecated.As of JDK version 1.1, replaced bygetSelectedCheckbox()
.int
Frame. getCursorType()
Deprecated.As of JDK version 1.1, replaced byComponent.getCursor()
.abstract String[]
Toolkit. getFontList()
Deprecated.abstract FontMetrics
Toolkit. getFontMetrics(Font font)
Deprecated.As of JDK version 1.2, replaced by theFont
methodgetLineMetrics
.int
Scrollbar. getLineIncrement()
Deprecated.As of JDK version 1.1, replaced bygetUnitIncrement()
.int
FontMetrics. getMaxDecent()
Deprecated.As of JDK version 1.1.1, replaced bygetMaxDescent()
.int
Toolkit. getMenuShortcutKeyMask()
Deprecated.It is recommended that extended modifier keys andToolkit.getMenuShortcutKeyMaskEx()
be used insteadstatic ComponentOrientation
ComponentOrientation. getOrientation(ResourceBundle bdl)
Deprecated.As of J2SE 1.4, useComponentOrientation.getOrientation(java.util.Locale)
.int
Scrollbar. getPageIncrement()
Deprecated.As of JDK version 1.1, replaced bygetBlockIncrement()
.int
Scrollbar. getVisible()
Deprecated.As of JDK version 1.1, replaced bygetVisibleAmount()
.boolean
Component. gotFocus(Event evt, Object what)
Deprecated.As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).boolean
Component. handleEvent(Event evt)
Deprecated.As of JDK version 1.1 replaced by processEvent(AWTEvent).void
Component. hide()
Deprecated.As of JDK version 1.1, replaced bysetVisible(boolean)
.void
Dialog. hide()
Deprecated.As of JDK version 1.5, replaced bysetVisible(boolean)
.void
Window. hide()
Deprecated.As of JDK version 1.5, replaced byWindow.setVisible(boolean)
.void
TextArea. insertText(String str, int pos)
Deprecated.As of JDK version 1.1, replaced byinsert(String, int)
.Insets
Container. insets()
Deprecated.As of JDK version 1.1, replaced bygetInsets()
.boolean
Component. inside(int x, int y)
Deprecated.As of JDK version 1.1, replaced by contains(int, int).boolean
Polygon. inside(int x, int y)
Deprecated.As of JDK version 1.1, replaced bycontains(int, int)
.boolean
Rectangle. inside(int X, int Y)
Deprecated.As of JDK version 1.1, replaced bycontains(int, int)
.boolean
Component. isFocusTraversable()
Deprecated.As of 1.4, replaced byisFocusable()
.boolean
List. isSelected(int index)
Deprecated.As of JDK version 1.1, replaced byisIndexSelected(int)
.boolean
Component. keyDown(Event evt, int key)
Deprecated.As of JDK version 1.1, replaced by processKeyEvent(KeyEvent).boolean
Component. keyUp(Event evt, int key)
Deprecated.As of JDK version 1.1, replaced by processKeyEvent(KeyEvent).void
Component. layout()
Deprecated.As of JDK version 1.1, replaced bydoLayout()
.void
Container. layout()
Deprecated.As of JDK version 1.1, replaced bydoLayout()
.void
ScrollPane. layout()
Deprecated.As of JDK version 1.1, replaced bydoLayout()
.Component
Component. locate(int x, int y)
Deprecated.As of JDK version 1.1, replaced by getComponentAt(int, int).Component
Container. locate(int x, int y)
Deprecated.As of JDK version 1.1, replaced bygetComponentAt(int, int)
.Point
Component. location()
Deprecated.As of JDK version 1.1, replaced bygetLocation()
.boolean
Component. lostFocus(Event evt, Object what)
Deprecated.As of JDK version 1.1, replaced by processFocusEvent(FocusEvent).Dimension
Component. minimumSize()
Deprecated.As of JDK version 1.1, replaced bygetMinimumSize()
.Dimension
Container. minimumSize()
Deprecated.As of JDK version 1.1, replaced bygetMinimumSize()
.Dimension
List. minimumSize()
Deprecated.As of JDK version 1.1, replaced bygetMinimumSize()
.Dimension
List. minimumSize(int rows)
Deprecated.As of JDK version 1.1, replaced bygetMinimumSize(int)
.Dimension
TextArea. minimumSize()
Deprecated.As of JDK version 1.1, replaced bygetMinimumSize()
.Dimension
TextArea. minimumSize(int rows, int columns)
Deprecated.As of JDK version 1.1, replaced bygetMinimumSize(int, int)
.Dimension
TextField. minimumSize()
Deprecated.As of JDK version 1.1, replaced bygetMinimumSize()
.Dimension
TextField. minimumSize(int columns)
Deprecated.As of JDK version 1.1, replaced bygetMinimumSize(int)
.boolean
Component. mouseDown(Event evt, int x, int y)
Deprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).boolean
Component. mouseDrag(Event evt, int x, int y)
Deprecated.As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent).boolean
Component. mouseEnter(Event evt, int x, int y)
Deprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).boolean
Component. mouseExit(Event evt, int x, int y)
Deprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).boolean
Component. mouseMove(Event evt, int x, int y)
Deprecated.As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent).boolean
Component. mouseUp(Event evt, int x, int y)
Deprecated.As of JDK version 1.1, replaced by processMouseEvent(MouseEvent).void
Component. move(int x, int y)
Deprecated.As of JDK version 1.1, replaced bysetLocation(int, int)
.void
Rectangle. move(int x, int y)
Deprecated.As of JDK version 1.1, replaced bysetLocation(int, int)
.void
Component. nextFocus()
Deprecated.As of JDK version 1.1, replaced by transferFocus().boolean
Component. postEvent(Event e)
Deprecated.As of JDK version 1.1, replaced by dispatchEvent(AWTEvent).boolean
MenuComponent. postEvent(Event evt)
Deprecated.As of JDK version 1.1, replaced bydispatchEvent
.boolean
MenuContainer. postEvent(Event evt)
Deprecated.As of JDK version 1.1 replaced by dispatchEvent(AWTEvent).boolean
Window. postEvent(Event e)
Deprecated.As of JDK version 1.1 replaced bydispatchEvent(AWTEvent)
.Dimension
Component. preferredSize()
Deprecated.As of JDK version 1.1, replaced bygetPreferredSize()
.Dimension
Container. preferredSize()
Deprecated.As of JDK version 1.1, replaced bygetPreferredSize()
.Dimension
List. preferredSize()
Deprecated.As of JDK version 1.1, replaced bygetPreferredSize()
.Dimension
List. preferredSize(int rows)
Deprecated.As of JDK version 1.1, replaced bygetPreferredSize(int)
.Dimension
TextArea. preferredSize()
Deprecated.As of JDK version 1.1, replaced bygetPreferredSize()
.Dimension
TextArea. preferredSize(int rows, int columns)
Deprecated.As of JDK version 1.1, replaced bygetPreferredSize(int, int)
.Dimension
TextField. preferredSize()
Deprecated.As of JDK version 1.1, replaced bygetPreferredSize()
.Dimension
TextField. preferredSize(int columns)
Deprecated.As of JDK version 1.1, replaced bygetPreferredSize(int)
.protected static void
AWTKeyStroke. registerSubclass(Class<?> subclass)
Deprecated.void
TextArea. replaceText(String str, int start, int end)
Deprecated.As of JDK version 1.1, replaced byreplaceRange(String, int, int)
.void
Component. reshape(int x, int y, int width, int height)
Deprecated.As of JDK version 1.1, replaced bysetBounds(int, int, int, int)
.void
Rectangle. reshape(int x, int y, int width, int height)
Deprecated.As of JDK version 1.1, replaced bysetBounds(int, int, int, int)
.void
Window. reshape(int x, int y, int width, int height)
Deprecated.As of JDK version 1.1, replaced bysetBounds(int, int, int, int)
.void
Component. resize(int width, int height)
Deprecated.As of JDK version 1.1, replaced bysetSize(int, int)
.void
Component. resize(Dimension d)
Deprecated.As of JDK version 1.1, replaced bysetSize(Dimension)
.void
Rectangle. resize(int width, int height)
Deprecated.As of JDK version 1.1, replaced bysetSize(int, int)
.void
CheckboxGroup. setCurrent(Checkbox box)
Deprecated.As of JDK version 1.1, replaced bysetSelectedCheckbox(Checkbox)
.void
Frame. setCursor(int cursorType)
Deprecated.As of JDK version 1.1, replaced byComponent.setCursor(Cursor)
.void
TextField. setEchoCharacter(char c)
Deprecated.As of JDK version 1.1, replaced bysetEchoChar(char)
.void
Scrollbar. setLineIncrement(int v)
Deprecated.As of JDK version 1.1, replaced bysetUnitIncrement(int)
.void
List. setMultipleSelections(boolean b)
Deprecated.As of JDK version 1.1, replaced bysetMultipleMode(boolean)
.void
Scrollbar. setPageIncrement(int v)
Deprecated.As of JDK version 1.1, replaced bysetBlockIncrement()
.void
Component. show()
Deprecated.As of JDK version 1.1, replaced bysetVisible(boolean)
.void
Component. show(boolean b)
Deprecated.As of JDK version 1.1, replaced bysetVisible(boolean)
.void
Dialog. show()
Deprecated.As of JDK version 1.5, replaced bysetVisible(boolean)
.void
Window. show()
Deprecated.As of JDK version 1.5, replaced byWindow.setVisible(boolean)
.Dimension
Component. size()
Deprecated.As of JDK version 1.1, replaced bygetSize()
.Constructors in java.awt with annotations of type Deprecated Constructor Description AWTEvent(Event event)
Deprecated.It is recommended thatAWTEvent(Object, int)
be used instead -
Uses of Deprecated in java.awt.color
Methods in java.awt.color with annotations of type Deprecated Modifier and Type Method Description protected void
ICC_Profile. finalize()
Deprecated.Thefinalize
method has been deprecated. -
Uses of Deprecated in java.awt.datatransfer
Fields in java.awt.datatransfer with annotations of type Deprecated Modifier and Type Field Description static DataFlavor
DataFlavor. plainTextFlavor
Deprecated.as of 1.3.Methods in java.awt.datatransfer with annotations of type Deprecated Modifier and Type Method Description boolean
DataFlavor. equals(String s)
Deprecated.As inconsistent withhashCode()
contract, useDataFlavor.isMimeTypeEqual(String)
instead.protected String
DataFlavor. normalizeMimeType(String mimeType)
Deprecated.This method is never invoked by this implementation from 1.1 onwardsprotected String
DataFlavor. normalizeMimeTypeParameter(String parameterName, String parameterValue)
Deprecated.This method is never invoked by this implementation from 1.1 onwards -
Uses of Deprecated in java.awt.event
Fields in java.awt.event with annotations of type Deprecated Modifier and Type Field Description static int
InputEvent. ALT_GRAPH_MASK
Deprecated.It is recommended that ALT_GRAPH_DOWN_MASK andInputEvent.getModifiersEx()
be used insteadstatic int
InputEvent. ALT_MASK
Deprecated.It is recommended that ALT_DOWN_MASK andInputEvent.getModifiersEx()
be used insteadstatic int
InputEvent. BUTTON1_MASK
Deprecated.It is recommended that BUTTON1_DOWN_MASK andInputEvent.getModifiersEx()
be used insteadstatic int
InputEvent. BUTTON2_MASK
Deprecated.It is recommended that BUTTON2_DOWN_MASK andInputEvent.getModifiersEx()
be used instead.static int
InputEvent. BUTTON3_MASK
Deprecated.It is recommended that BUTTON3_DOWN_MASK andInputEvent.getModifiersEx()
be used instead.static int
InputEvent. CTRL_MASK
Deprecated.It is recommended that CTRL_DOWN_MASK andInputEvent.getModifiersEx()
be used insteadstatic int
InputEvent. META_MASK
Deprecated.It is recommended that META_DOWN_MASK andInputEvent.getModifiersEx()
be used insteadstatic int
InputEvent. SHIFT_MASK
Deprecated.It is recommended that SHIFT_DOWN_MASK andInputEvent.getModifiersEx()
be used insteadMethods in java.awt.event with annotations of type Deprecated Modifier and Type Method Description static String
KeyEvent. getKeyModifiersText(int modifiers)
Deprecated.It is recommended that extended modifier keys andInputEvent.getModifiersExText(int)
be used insteadint
InputEvent. getModifiers()
Deprecated.It is recommended that extended modifier keys andInputEvent.getModifiersEx()
be used insteadvoid
KeyEvent. setModifiers(int modifiers)
Deprecated.as of JDK1.1.4Constructors in java.awt.event with annotations of type Deprecated Constructor Description KeyEvent(Component source, int id, long when, int modifiers, int keyCode)
Deprecated.as of JDK1.1; useKeyEvent(Component, int, long, int, int, char)
instead -
Uses of Deprecated in java.awt.image
Methods in java.awt.image with annotations of type Deprecated Modifier and Type Method Description void
ColorModel. finalize()
Deprecated.Thefinalize
method has been deprecated.void
IndexColorModel. finalize()
Deprecated.Thefinalize
method has been deprecated. -
Uses of Deprecated in java.awt.image.renderable
Methods in java.awt.image.renderable with annotations of type Deprecated Modifier and Type Method Description void
RenderContext. concetenateTransform(AffineTransform modTransform)
Deprecated.replaced byconcatenateTransform(AffineTransform)
.void
RenderContext. preConcetenateTransform(AffineTransform modTransform)
Deprecated.replaced bypreConcatenateTransform(AffineTransform)
. -
Uses of Deprecated in java.beans
Classes in java.beans with annotations of type Deprecated Modifier and Type Interface Description interface
AppletInitializer
Deprecated.The Applet API is deprecated.Methods in java.beans with annotations of type Deprecated Modifier and Type Method Description static Object
Beans. 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.io
Classes in java.io with annotations of type Deprecated Modifier and Type Class Description class
LineNumberInputStream
Deprecated.This class incorrectly assumes that bytes adequately represent characters.class
StringBufferInputStream
Deprecated.This class does not properly convert characters into bytes.Methods in java.io with annotations of type Deprecated Modifier and Type Method Description protected void
FileInputStream. finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Thefinalize
method has been deprecated and will be removed.protected void
FileOutputStream. finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Thefinalize
method has been deprecated and will be removed.String
DataInputStream. readLine()
Deprecated.This method does not properly convert bytes to characters.String
ObjectInputStream. readLine()
Deprecated.This method does not properly convert bytes to characters.String
ByteArrayOutputStream. toString(int hibyte)
Deprecated.This method does not properly convert bytes into characters.URL
File. toURL()
Deprecated.This method does not automatically escape characters that are illegal in URLs.abstract void
ObjectOutputStream.PutField. write(ObjectOutput out)
Deprecated.This method does not write the values contained by thisPutField
object in a proper format, and may result in corruption of the serialization stream.Constructors in java.io with annotations of type Deprecated Constructor Description StreamTokenizer(InputStream is)
Deprecated.As of JDK version 1.1, the preferred way to tokenize an input stream is to convert it into a character stream, for example: -
Uses of Deprecated in java.lang
Classes in java.lang with annotations of type Deprecated Modifier and Type Class Description class
Compiler
Deprecated, 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 Deprecated Modifier and Type Field Description static Character.UnicodeBlock
Character.UnicodeBlock. SURROGATES_AREA
Deprecated.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 Deprecated Modifier and Type Method Description boolean
ThreadGroup. allowThreadSuspension(boolean b)
Deprecated.The definition of this call depends onThreadGroup.suspend()
, which is deprecated.void
SecurityManager. checkAwtEventQueueAccess()
Deprecated, for removal: This API element is subject to removal in a future version.This method was originally used to check if the calling thread could access the AWT event queue.void
SecurityManager. checkMemberAccess(Class<?> clazz, int which)
Deprecated, for removal: This API element is subject to removal in a future version.This method was originally used to check if the calling thread was allowed to access members.void
SecurityManager. checkMulticast(InetAddress maddr, byte ttl)
Deprecated.Use #checkPermission(java.security.Permission) insteadvoid
SecurityManager. checkSystemClipboardAccess()
Deprecated, for removal: This API element is subject to removal in a future version.This method was originally used to check if the calling thread could access the system clipboard.boolean
SecurityManager. checkTopLevelWindow(Object window)
Deprecated, for removal: This API element is subject to removal in a future version.This method was originally used to check if the calling thread was trusted to bring up a top-level window.int
Thread. countStackFrames()
Deprecated, for removal: This API element is subject to removal in a future version.The definition of this call depends onThread.suspend()
, which is deprecated.protected Class<?>
ClassLoader. defineClass(byte[] b, int off, int len)
Deprecated.Replaced bydefineClass(String, byte[], int, int)
void
Thread. destroy()
Deprecated, for removal: This API element is subject to removal in a future version.This method was originally designed to destroy this thread without any cleanup.protected void
Object. finalize()
Deprecated.The finalization mechanism is inherently problematic.void
String. getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin)
Deprecated.This method does not properly convert characters into bytes.protected Package
ClassLoader. 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 ofgetPackage
to return aPackage
from a parent loader, then the properties exposed by thePackage
may not be as expected in the rest of the program.static Package
Package. 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 ofgetPackage
to return aPackage
from a parent loader, then the properties exposed by thePackage
may not be as expected in the rest of the program.static boolean
Character. isJavaLetter(char ch)
Deprecated.Replaced by isJavaIdentifierStart(char).static boolean
Character. isJavaLetterOrDigit(char ch)
Deprecated.Replaced by isJavaIdentifierPart(char).static boolean
Character. isSpace(char ch)
Deprecated.Replaced by isWhitespace(char).int
Runtime.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.int
Runtime.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.T
Class. newInstance()
Deprecated.This method propagates any exception thrown by the nullary constructor, including a checked exception.void
Thread. resume()
Deprecated.This method exists solely for use withThread.suspend()
, which has been deprecated because it is deadlock-prone.void
ThreadGroup. resume()
Deprecated.This method is used solely in conjunction withThread.suspend
andThreadGroup.suspend
, both of which have been deprecated, as they are inherently deadlock-prone.static void
Runtime. runFinalizersOnExit(boolean value)
Deprecated, for removal: This API element is subject to removal in a future version.This method is inherently unsafe.static void
System. runFinalizersOnExit(boolean value)
Deprecated, for removal: This API element is subject to removal in a future version.This method is inherently unsafe.int
Runtime.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.void
Thread. stop()
Deprecated.This method is inherently unsafe.void
Thread. stop(Throwable obj)
Deprecated, for removal: This API element is subject to removal in a future version.This method was originally designed to force a thread to stop and throw a givenThrowable
as an exception.void
ThreadGroup. stop()
Deprecated.This method is inherently unsafe.void
Thread. suspend()
Deprecated.This method has been deprecated, as it is inherently deadlock-prone.void
ThreadGroup. suspend()
Deprecated.This method is inherently deadlock-prone.void
Runtime. traceInstructions(boolean on)
Deprecated, for removal: This API element is subject to removal in a future version.This method was intended to control instruction tracing.void
Runtime. traceMethodCalls(boolean on)
Deprecated, for removal: This API element is subject to removal in a future version.This method was intended to control method call tracing.Constructors in java.lang with annotations of type Deprecated Constructor Description Boolean(boolean value)
Deprecated.It is rarely appropriate to use this constructor.Boolean(String s)
Deprecated.It is rarely appropriate to use this constructor.Byte(byte value)
Deprecated.It is rarely appropriate to use this constructor.Byte(String s)
Deprecated.It is rarely appropriate to use this constructor.Character(char value)
Deprecated.It is rarely appropriate to use this constructor.Double(double value)
Deprecated.It is rarely appropriate to use this constructor.Double(String s)
Deprecated.It is rarely appropriate to use this constructor.Float(double value)
Deprecated.It is rarely appropriate to use this constructor.Float(float value)
Deprecated.It is rarely appropriate to use this constructor.Float(String s)
Deprecated.It is rarely appropriate to use this constructor.Integer(int value)
Deprecated.It is rarely appropriate to use this constructor.Integer(String s)
Deprecated.It is rarely appropriate to use this constructor.Long(long value)
Deprecated.It is rarely appropriate to use this constructor.Long(String s)
Deprecated.It is rarely appropriate to use this constructor.Short(short value)
Deprecated.It is rarely appropriate to use this constructor.Short(String s)
Deprecated.It is rarely appropriate to use this constructor.String(byte[] ascii, int hibyte)
Deprecated.This method does not properly convert bytes into characters.String(byte[] ascii, int hibyte, int offset, int count)
Deprecated.This method does not properly convert bytes into characters. -
Uses of Deprecated in java.lang.reflect
Methods in java.lang.reflect with annotations of type Deprecated Modifier and Type Method Description static 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.boolean
AccessibleObject. 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.math
Fields in java.math with annotations of type Deprecated Modifier and Type Field Description static int
BigDecimal. ROUND_CEILING
Deprecated.UseRoundingMode.CEILING
instead.static int
BigDecimal. ROUND_DOWN
Deprecated.UseRoundingMode.DOWN
instead.static int
BigDecimal. ROUND_FLOOR
Deprecated.UseRoundingMode.FLOOR
instead.static int
BigDecimal. ROUND_HALF_DOWN
Deprecated.UseRoundingMode.HALF_DOWN
instead.static int
BigDecimal. ROUND_HALF_EVEN
Deprecated.UseRoundingMode.HALF_EVEN
instead.static int
BigDecimal. ROUND_HALF_UP
Deprecated.UseRoundingMode.HALF_UP
instead.static int
BigDecimal. ROUND_UNNECESSARY
Deprecated.UseRoundingMode.UNNECESSARY
instead.static int
BigDecimal. ROUND_UP
Deprecated.UseRoundingMode.UP
instead.Methods in java.math with annotations of type Deprecated Modifier and Type Method Description BigDecimal
BigDecimal. divide(BigDecimal divisor, int roundingMode)
Deprecated.The methodBigDecimal.divide(BigDecimal, RoundingMode)
should be used in preference to this legacy method.BigDecimal
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
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.net
Fields in java.net with annotations of type Deprecated Modifier and Type Field Description static int
HttpURLConnection. HTTP_SERVER_ERROR
Deprecated.it is misplaced and shouldn't have existed.Methods in java.net with annotations of type Deprecated Modifier and Type Method Description static String
URLDecoder. decode(String s)
Deprecated.The resulting string may vary depending on the platform's default encoding.static String
URLEncoder. encode(String s)
Deprecated.The resulting string may vary depending on the platform's default encoding.static String
URLConnection. getDefaultRequestProperty(String key)
Deprecated.The instance specific getRequestProperty method should be used after an appropriate instance of URLConnection is obtained.protected abstract byte
DatagramSocketImpl. getTTL()
Deprecated.use getTimeToLive instead.byte
MulticastSocket. getTTL()
Deprecated.use the getTimeToLive method instead, which returns an int instead of a byte.void
MulticastSocket. send(DatagramPacket p, byte ttl)
Deprecated.Use the following code or its equivalent instead: ......static void
URLConnection. setDefaultRequestProperty(String key, String value)
Deprecated.The instance specific setRequestProperty method should be used after an appropriate instance of URLConnection is obtained.protected abstract void
DatagramSocketImpl. setTTL(byte ttl)
Deprecated.use setTimeToLive instead.void
MulticastSocket. setTTL(byte ttl)
Deprecated.use the setTimeToLive method instead, which uses int instead of byte as the type for ttl.protected void
URLStreamHandler. setURL(URL u, String protocol, String host, int port, String file, String ref)
Deprecated.Use setURL(URL, String, String, int, String, String, String, String);Constructors in java.net with annotations of type Deprecated Constructor Description Socket(String host, int port, boolean stream)
Deprecated.Use DatagramSocket instead for UDP transport.Socket(InetAddress host, int port, boolean stream)
Deprecated.Use DatagramSocket instead for UDP transport. -
Uses of Deprecated in java.rmi
Classes in java.rmi with annotations of type Deprecated Modifier and Type Class Description class
RMISecurityException
Deprecated.UseSecurityException
instead.class
RMISecurityManager
Deprecated.UseSecurityManager
instead.class
ServerRuntimeException
Deprecated.no replacementConstructors in java.rmi with annotations of type Deprecated Constructor Description RMISecurityException(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.dgc
Methods in java.rmi.dgc with annotations of type Deprecated Modifier and Type Method Description static boolean
VMID. isUnique()
Deprecated. -
Uses of Deprecated in java.rmi.registry
Classes in java.rmi.registry with annotations of type Deprecated Modifier and Type Interface Description interface
RegistryHandler
Deprecated.no replacementMethods in java.rmi.registry with annotations of type Deprecated Modifier and Type Method Description Registry
RegistryHandler. registryImpl(int port)
Deprecated.no replacement.Registry
RegistryHandler. registryStub(String host, int port)
Deprecated.no replacement. -
Uses of Deprecated in java.rmi.server
Classes in java.rmi.server with annotations of type Deprecated Modifier and Type Interface Description interface
LoaderHandler
Deprecated.no replacementclass
LogStream
Deprecated.no replacementclass
Operation
Deprecated.no replacementinterface
RemoteCall
Deprecated.no replacement.class
RemoteStub
Deprecated.Statically generated stubs are deprecated, since stubs are generated dynamically.interface
ServerRef
Deprecated.No replacement.interface
Skeleton
Deprecated.no replacement.class
SkeletonMismatchException
Deprecated.no replacement.class
SkeletonNotFoundException
Deprecated.no replacement.class
SocketSecurityException
Deprecated.This class is obsolete.Methods in java.rmi.server with annotations of type Deprecated Modifier and Type Method Description void
Skeleton. dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)
Deprecated.no replacementvoid
RemoteCall. done()
Deprecated.no replacementvoid
RemoteRef. done(RemoteCall call)
Deprecated.1.2 style stubs no longer use this method.void
RemoteCall. executeCall()
Deprecated.no replacementstatic RemoteStub
UnicastRemoteObject. exportObject(Remote obj)
Deprecated.This method is deprecated because it supports only static stubs.static PrintStream
LogStream. getDefaultStream()
Deprecated.no replacementObjectInput
RemoteCall. getInputStream()
Deprecated.no replacementString
Operation. getOperation()
Deprecated.no replacementOperation[]
Skeleton. getOperations()
Deprecated.no replacementOutputStream
LogStream. getOutputStream()
Deprecated.no replacementObjectOutput
RemoteCall. getOutputStream()
Deprecated.no replacementObjectOutput
RemoteCall. getResultStream(boolean success)
Deprecated.no replacementObject
LoaderHandler. getSecurityContext(ClassLoader loader)
Deprecated.no replacementstatic Object
RMIClassLoader. getSecurityContext(ClassLoader loader)
Deprecated.no replacement.void
RemoteRef. invoke(RemoteCall call)
Deprecated.1.2 style stubs no longer use this method.Class<?>
LoaderHandler. loadClass(String name)
Deprecated.no replacementClass<?>
LoaderHandler. loadClass(URL codebase, String name)
Deprecated.no replacementstatic Class<?>
RMIClassLoader. loadClass(String name)
Deprecated.replaced byloadClass(String,String)
methodstatic LogStream
LogStream. log(String name)
Deprecated.no replacementRemoteCall
RemoteRef. newCall(RemoteObject obj, Operation[] op, int opnum, long hash)
Deprecated.1.2 style stubs no longer use this method.static int
LogStream. parseLevel(String s)
Deprecated.no replacementvoid
RemoteCall. releaseInputStream()
Deprecated.no replacementvoid
RemoteCall. releaseOutputStream()
Deprecated.no replacementstatic void
LogStream. setDefaultStream(PrintStream newDefault)
Deprecated.no replacementvoid
LogStream. setOutputStream(OutputStream out)
Deprecated.no replacementprotected static void
RemoteStub. setRef(RemoteStub stub, RemoteRef ref)
Deprecated.No replacement.String
LogStream. toString()
Deprecated.no replacementString
Operation. toString()
Deprecated.no replacementvoid
LogStream. write(byte[] b, int off, int len)
Deprecated.no replacementvoid
LogStream. write(int b)
Deprecated.no replacementConstructors in java.rmi.server with annotations of type Deprecated Constructor Description Operation(String op)
Deprecated.no replacementSkeletonMismatchException(String s)
Deprecated.no replacement -
Uses of Deprecated in java.security
Classes in java.security with annotations of type Deprecated Modifier and Type Interface Description interface
Certificate
Deprecated, 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.class
Identity
Deprecated, 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.class
IdentityScope
Deprecated, 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.class
Signer
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.Methods in java.security with annotations of type Deprecated Modifier and Type Method Description protected abstract Object
SignatureSpi. engineGetParameter(String param)
Deprecated.protected abstract void
SignatureSpi. engineSetParameter(String param, Object value)
Deprecated.Replaced byengineSetParameter
.static String
Security. 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.Object
Signature. getParameter(String param)
Deprecated.double
Provider. getVersion()
Deprecated.useProvider.getVersionStr()
instead.void
Signature. setParameter(String param, Object value)
Deprecated.UsesetParameter
.Constructors in java.security with annotations of type Deprecated Constructor Description AuthProvider(String name, double version, String info)
Deprecated.useAuthProvider(String, String, String)
instead.Provider(String name, double version, String info)
Deprecated.useProvider(String, String, String)
instead. -
Uses of Deprecated in java.security.acl
Classes in java.security.acl with annotations of type Deprecated Modifier and Type Interface Description interface
Acl
Deprecated, 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.interface
AclEntry
Deprecated, 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.class
AclNotFoundException
Deprecated, 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.interface
Group
Deprecated, 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.class
LastOwnerException
Deprecated, 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.class
NotOwnerException
Deprecated, 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.interface
Owner
Deprecated, 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.interface
Permission
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE. -
Uses of Deprecated in java.sql
Methods in java.sql with annotations of type Deprecated Modifier and Type Method Description BigDecimal
CallableStatement. getBigDecimal(int parameterIndex, int scale)
Deprecated.usegetBigDecimal(int parameterIndex)
orgetBigDecimal(String parameterName)
BigDecimal
ResultSet. getBigDecimal(int columnIndex, int scale)
Deprecated.UsegetBigDecimal(int columnIndex)
orgetBigDecimal(String columnLabel)
BigDecimal
ResultSet. getBigDecimal(String columnLabel, int scale)
Deprecated.UsegetBigDecimal(int columnIndex)
orgetBigDecimal(String columnLabel)
int
Time. getDate()
Deprecated.int
Time. getDay()
Deprecated.int
Date. getHours()
Deprecated.static PrintStream
DriverManager. getLogStream()
Deprecated.UsegetLogWriter
int
Date. getMinutes()
Deprecated.int
Time. getMonth()
Deprecated.int
Date. getSeconds()
Deprecated.InputStream
ResultSet. getUnicodeStream(int columnIndex)
Deprecated.usegetCharacterStream
in place ofgetUnicodeStream
InputStream
ResultSet. getUnicodeStream(String columnLabel)
Deprecated.usegetCharacterStream
insteadint
Time. getYear()
Deprecated.void
Time. setDate(int i)
Deprecated.void
Date. setHours(int i)
Deprecated.static void
DriverManager. setLogStream(PrintStream out)
Deprecated.UsesetLogWriter
void
Date. setMinutes(int i)
Deprecated.void
Time. setMonth(int i)
Deprecated.void
Date. setSeconds(int i)
Deprecated.void
PreparedStatement. setUnicodeStream(int parameterIndex, InputStream x, int length)
Deprecated.UsesetCharacterStream
void
Time. setYear(int i)
Deprecated.Constructors in java.sql with annotations of type Deprecated Constructor Description Date(int year, int month, int day)
Deprecated.instead use the constructorDate(long date)
Time(int hour, int minute, int second)
Deprecated.Use the constructor that takes a milliseconds value in place of this constructorTimestamp(int year, int month, int date, int hour, int minute, int second, int nano)
Deprecated.instead use the constructorTimestamp(long millis)
-
Uses of Deprecated in java.util
Classes in java.util with annotations of type Deprecated Modifier and Type Class Description class
Observable
Deprecated.This class and theObserver
interface have been deprecated.interface
Observer
Deprecated.This interface has been deprecated.Methods in java.util with annotations of type Deprecated Modifier and Type Method Description int
Date. getDate()
Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.DAY_OF_MONTH)
.int
Date. getDay()
Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.DAY_OF_WEEK)
.int
Date. getHours()
Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.HOUR_OF_DAY)
.int
Date. getMinutes()
Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.MINUTE)
.int
Date. getMonth()
Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.MONTH)
.int
Date. getSeconds()
Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.SECOND)
.int
Date. getTimezoneOffset()
Deprecated.As of JDK version 1.1, replaced by-(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / (60 * 1000)
.int
Date. getYear()
Deprecated.As of JDK version 1.1, replaced byCalendar.get(Calendar.YEAR) - 1900
.static long
Date. parse(String s)
Deprecated.As of JDK version 1.1, replaced byDateFormat.parse(String s)
.void
Properties. save(OutputStream out, String comments)
Deprecated.This method does not throw an IOException if an I/O error occurs while saving the property list.void
Date. setDate(int date)
Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.DAY_OF_MONTH, int date)
.void
Date. setHours(int hours)
Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.HOUR_OF_DAY, int hours)
.void
Date. setMinutes(int minutes)
Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.MINUTE, int minutes)
.void
Date. setMonth(int month)
Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.MONTH, int month)
.void
Date. setSeconds(int seconds)
Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.SECOND, int seconds)
.void
Date. setYear(int year)
Deprecated.As of JDK version 1.1, replaced byCalendar.set(Calendar.YEAR, year + 1900)
.String
Date. toGMTString()
Deprecated.As of JDK version 1.1, replaced byDateFormat.format(Date date)
, using a GMTTimeZone
.String
Date. toLocaleString()
Deprecated.As of JDK version 1.1, replaced byDateFormat.format(Date date)
.static long
Date. 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 Deprecated Constructor Description Date(int year, int month, int date)
Deprecated.As of JDK version 1.1, replaced byCalendar.set(year + 1900, month, date)
orGregorianCalendar(year + 1900, month, date)
.Date(int year, int month, int date, int hrs, int min)
Deprecated.As of JDK version 1.1, replaced byCalendar.set(year + 1900, month, date, hrs, min)
orGregorianCalendar(year + 1900, month, date, hrs, min)
.Date(int year, int month, int date, int hrs, int min, int sec)
Deprecated.As of JDK version 1.1, replaced byCalendar.set(year + 1900, month, date, hrs, min, sec)
orGregorianCalendar(year + 1900, month, date, hrs, min, sec)
.Date(String s)
Deprecated.As of JDK version 1.1, replaced byDateFormat.parse(String s)
. -
Uses of Deprecated in java.util.concurrent
Methods in java.util.concurrent with annotations of type Deprecated Modifier and Type Method Description protected void
ThreadPoolExecutor. finalize()
Deprecated.Thefinalize
method has been deprecated. -
Uses of Deprecated in java.util.concurrent.atomic
Methods in java.util.concurrent.atomic with annotations of type Deprecated Modifier and Type Method Description boolean
AtomicBoolean. 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)
).boolean
AtomicInteger. 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)
).boolean
AtomicIntegerArray. 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)
).boolean
AtomicLong. 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)
).boolean
AtomicLongArray. 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)
).boolean
AtomicReference. 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)
).boolean
AtomicReferenceArray. 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.jar
Fields in java.util.jar with annotations of type Deprecated Modifier and Type Field Description static Attributes.Name
Attributes.Name. EXTENSION_INSTALLATION
Deprecated.Extension mechanism is no longer supported.static Attributes.Name
Attributes.Name. IMPLEMENTATION_URL
Deprecated.Extension mechanism is no longer supported.static Attributes.Name
Attributes.Name. IMPLEMENTATION_VENDOR_ID
Deprecated.Extension mechanism is no longer supported. -
Uses of Deprecated in java.util.logging
Classes in java.util.logging with annotations of type Deprecated Modifier and Type Interface Description interface
LoggingMXBean
Deprecated.Fields in java.util.logging with annotations of type Deprecated Modifier and Type Field Description static Logger
Logger. global
Deprecated.Initialization of this field is prone to deadlocks.Methods in java.util.logging with annotations of type Deprecated Modifier and Type Method Description static LoggingMXBean
LogManager. getLoggingMXBean()
Deprecated.java.util.logging.LoggingMXBean
is deprecated and replaced withjava.lang.management.PlatformLoggingMXBean
.void
Logger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg)
void
Logger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1)
void
Logger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params)
void
Logger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)
void
LogRecord. setMillis(long millis)
Deprecated.LogRecord maintains timestamps with nanosecond resolution, usingInstant
values. -
Uses of Deprecated in java.util.zip
Methods in java.util.zip with annotations of type Deprecated Modifier and Type Method Description protected void
Deflater. finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Thefinalize
method has been deprecated and will be removed.protected void
Inflater. finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Thefinalize
method has been deprecated and will be removed.protected void
ZipFile. finalize()
Deprecated, for removal: This API element is subject to removal in a future version.Thefinalize
method has been deprecated and will be removed. -
Uses of Deprecated in javafx.css
Methods in javafx.css with annotations of type Deprecated Modifier and Type Method Description void
CssMetaData. set(S styleable, V value, StyleOrigin origin)
Deprecated.This method is no longer called from CSS code. -
Uses of Deprecated in javafx.event
Constructors in javafx.event with annotations of type Deprecated Constructor Description EventType()
Deprecated.Do not use this constructor, as only one such EventType can exist -
Uses of Deprecated in javafx.fxml
Methods in javafx.fxml with annotations of type Deprecated Modifier and Type Method Description static Class<?>
FXMLLoader. loadType(String className)
Deprecated.This method now delegates toFXMLLoader.getDefaultClassLoader()
.static Class<?>
FXMLLoader. loadType(String packageName, String className)
Deprecated.This method now delegates toFXMLLoader.getDefaultClassLoader()
. -
Uses of Deprecated in javafx.scene.control
Methods in javafx.scene.control with annotations of type Deprecated Modifier and Type Method Description static int
TreeTableView. getNodeLevel(TreeItem<?> node)
Deprecated.This method does not correctly calculate the distance from the given TreeItem to the root of the TreeTableView.static int
TreeView. getNodeLevel(TreeItem<?> node)
Deprecated.This method does not correctly calculate the distance from the given TreeItem to the root of the TreeView.protected double
SkinBase. snapPosition(double value)
Deprecated.replaced bysnapPositionX()
andsnapPositionY()
protected double
SkinBase. snapSize(double value)
Deprecated.replaced bysnapSizeX()
andsnapSizeY()
protected double
SkinBase. snapSpace(double value)
Deprecated.replaced bysnapSpaceX()
andsnapSpaceY()
-
Uses of Deprecated in javafx.scene.input
Constructors in javafx.scene.input with annotations of type Deprecated Constructor Description GestureEvent(Object source, EventTarget target, EventType<? extends GestureEvent> eventType)
Deprecated.Do not use this constructor.GestureEvent(EventType<? extends GestureEvent> eventType)
Deprecated.Do not use this constructor. -
Uses of Deprecated in javafx.scene.layout
Methods in javafx.scene.layout with annotations of type Deprecated Modifier and Type Method Description protected double
Region. snapPosition(double value)
Deprecated.replaced bysnapPositionX()
andsnapPositionY()
protected double
Region. snapSize(double value)
Deprecated.replaced bysnapSizeX()
andsnapSizeY()
protected double
Region. snapSpace(double value)
Deprecated.replaced bysnapSpaceX()
andsnapSpaceY()
-
Uses of Deprecated in javafx.scene.media
Methods in javafx.scene.media with annotations of type Deprecated Modifier and Type Method Description String
AudioTrack. getLanguage()
Deprecated.UseTrack.getLocale()
instead. -
Uses of Deprecated in javafx.util
Methods in javafx.util with annotations of type Deprecated Modifier and Type Method Description Duration
Duration. divide(Duration other)
Deprecated.This method produces surprising results by not taking units into account.Duration
Duration. multiply(Duration other)
Deprecated.This method produces surprising results by not taking units into account. -
Uses of Deprecated in javax.accessibility
Classes in javax.accessibility with annotations of type Deprecated Modifier and Type Class Description class
AccessibleResourceBundle
Deprecated.This class is deprecated as of version 1.3 of the Java Platform -
Uses of Deprecated in javax.imageio.spi
Fields in javax.imageio.spi with annotations of type Deprecated Modifier and Type Field Description static Class<?>[]
ImageReaderSpi. STANDARD_INPUT_TYPE
Deprecated.Instead of using this field, directly create the equivalent array{ ImageInputStream.class }
.static Class<?>[]
ImageWriterSpi. STANDARD_OUTPUT_TYPE
Deprecated.Instead of using this field, directly create the equivalent array{ ImageOutputStream.class }
.Methods in javax.imageio.spi with annotations of type Deprecated Modifier and Type Method Description void
ServiceRegistry. finalize()
Deprecated.Thefinalize
method has been deprecated. -
Uses of Deprecated in javax.imageio.stream
Methods in javax.imageio.stream with annotations of type Deprecated Modifier and Type Method Description protected void
FileCacheImageInputStream. finalize()
Deprecated.Thefinalize
method has been deprecated.protected void
FileImageInputStream. finalize()
Deprecated.Thefinalize
method has been deprecated.protected void
FileImageOutputStream. finalize()
Deprecated.Thefinalize
method has been deprecated.protected void
ImageInputStreamImpl. finalize()
Deprecated.Thefinalize
method has been deprecated.protected void
MemoryCacheImageInputStream. finalize()
Deprecated.Thefinalize
method has been deprecated. -
Uses of Deprecated in javax.jws
Methods in javax.jws with annotations of type Deprecated Modifier and Type Method Description String
name()
Deprecated. -
Uses of Deprecated in javax.jws.soap
Classes in javax.jws.soap with annotations of type Deprecated Modifier and Type Class Description interface
InitParam
Deprecated.interface
SOAPMessageHandler
Deprecated.interface
SOAPMessageHandlers
Deprecated. -
Uses of Deprecated in javax.lang.model.util
Constructors in javax.lang.model.util with annotations of type Deprecated Constructor Description AbstractAnnotationValueVisitor6()
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.AbstractElementVisitor6()
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.AbstractTypeVisitor6()
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.ElementKindVisitor6()
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.ElementKindVisitor6(R defaultValue)
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.ElementScanner6()
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.ElementScanner6(R defaultValue)
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleAnnotationValueVisitor6()
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleAnnotationValueVisitor6(R defaultValue)
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleElementVisitor6()
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleElementVisitor6(R defaultValue)
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleTypeVisitor6()
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.SimpleTypeVisitor6(R defaultValue)
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.TypeKindVisitor6()
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level.TypeKindVisitor6(R defaultValue)
Deprecated.Release 6 is obsolete; update to a visitor for a newer release level. -
Uses of Deprecated in javax.management
Classes in javax.management with annotations of type Deprecated Modifier and Type Class Description class
DefaultLoaderRepository
Deprecated.UseMBeanServer.getClassLoaderRepository()
instead.Methods in javax.management with annotations of type Deprecated Modifier and Type Method Description default ObjectInputStream
MBeanServer. deserialize(String className, byte[] data)
Deprecated.UseMBeanServer.getClassLoaderRepository()
to obtain the class loader repository and use it to deserialize.default ObjectInputStream
MBeanServer. deserialize(String className, ObjectName loaderName, byte[] data)
Deprecated.UsegetClassLoader
to obtain the class loader for deserialization.default ObjectInputStream
MBeanServer. deserialize(ObjectName name, byte[] data)
Deprecated.UsegetClassLoaderFor
to obtain the appropriate class loader for deserialization.void
AttributeValueExp. setMBeanServer(MBeanServer s)
Deprecated.This method has no effect.void
StringValueExp. setMBeanServer(MBeanServer s)
Deprecated.void
ValueExp. setMBeanServer(MBeanServer s)
Deprecated.This method is not needed because aValueExp
can access the MBean server in which it is being evaluated by usingQueryEval.getMBeanServer()
.Constructors in javax.management with annotations of type Deprecated Constructor Description AttributeValueExp()
Deprecated.An instance created with this constructor cannot be used in a query. -
Uses of Deprecated in javax.management.loading
Classes in javax.management.loading with annotations of type Deprecated Modifier and Type Class Description class
DefaultLoaderRepository
Deprecated.UseMBeanServer.getClassLoaderRepository()
instead. -
Uses of Deprecated in javax.management.monitor
Fields in javax.management.monitor with annotations of type Deprecated Modifier and Type Field Description protected int
Monitor. alreadyNotified
Deprecated.equivalent toMonitor.alreadyNotifieds
[0].protected String
Monitor. dbgTag
Deprecated.No replacement. -
Uses of Deprecated in javax.management.openmbean
Fields in javax.management.openmbean with annotations of type Deprecated Modifier and Type Field Description static String[]
OpenType. ALLOWED_CLASSNAMES
Deprecated.UseALLOWED_CLASSNAMES_LIST
instead. -
Uses of Deprecated in javax.management.remote.rmi
Classes in javax.management.remote.rmi with annotations of type Deprecated Modifier and Type Class Description class
RMIIIOPServerImpl
Deprecated.This transport is no longer supported.Fields in javax.management.remote.rmi with annotations of type Deprecated Modifier and Type Field Description static String
RMIConnectorServer. CREDENTIAL_TYPES
Deprecated, for removal: This API element is subject to removal in a future version.UseRMIConnectorServer.CREDENTIALS_FILTER_PATTERN
with a filter pattern string instead. -
Uses of Deprecated in javax.naming
Fields in javax.naming with annotations of type Deprecated Modifier and Type Field Description static String
Context. APPLET
Deprecated.An environment property with this name is ignored while constructing an initial context. -
Uses of Deprecated in javax.net.ssl
Methods in javax.net.ssl with annotations of type Deprecated Modifier and Type Method Description X509Certificate[]
HandshakeCompletedEvent. getPeerCertificateChain()
Deprecated.TheHandshakeCompletedEvent.getPeerCertificates()
method that returns an array ofjava.security.cert.Certificate
should be used instead.X509Certificate[]
SSLSession. getPeerCertificateChain()
Deprecated.TheSSLSession.getPeerCertificates()
method that returns an array ofjava.security.cert.Certificate
should be used instead. -
Uses of Deprecated in javax.security.auth
Classes in javax.security.auth with annotations of type Deprecated Modifier and Type Class Description class
Policy
Deprecated, for removal: This API element is subject to removal in a future version.Replaced by java.security.Policy. -
Uses of Deprecated in javax.security.cert
Classes in javax.security.cert with annotations of type Deprecated Modifier and Type Class Description class
Certificate
Deprecated.Use the classes injava.security.cert
instead.class
CertificateEncodingException
Deprecated.Use the classes injava.security.cert
instead.class
CertificateException
Deprecated.Use the classes injava.security.cert
instead.class
CertificateExpiredException
Deprecated.Use the classes injava.security.cert
instead.class
CertificateNotYetValidException
Deprecated.Use the classes injava.security.cert
instead.class
CertificateParsingException
Deprecated.Use the classes injava.security.cert
instead.class
X509Certificate
Deprecated.Use the classes injava.security.cert
instead. -
Uses of Deprecated in javax.sql.rowset
Fields in javax.sql.rowset with annotations of type Deprecated Modifier and Type Field Description static boolean
CachedRowSet. COMMIT_ON_ACCEPT_CHANGES
Deprecated.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 Deprecated Modifier and Type Method Description void
BaseRowSet. setUnicodeStream(int parameterIndex, InputStream x, int length)
Deprecated.getCharacterStream should be used in its place -
Uses of Deprecated in javax.swing
Classes in javax.swing with annotations of type Deprecated Modifier and Type Class Description class
JApplet
Deprecated.The Applet API is deprecated.protected class
JComponent.AccessibleJComponent.AccessibleFocusHandler
Deprecated.This class is no longer used or needed.Fields in javax.swing with annotations of type Deprecated Modifier and Type Field Description protected FocusListener
JComponent.AccessibleJComponent. accessibleFocusHandler
Deprecated.protected boolean
JViewport. backingStore
Deprecated.As of Java 2 platform v1.3protected static Component
ImageIcon. component
Deprecated.since 1.8protected static MediaTracker
ImageIcon. tracker
Deprecated.since 1.8Methods in javax.swing with annotations of type Deprecated Modifier and Type Method Description void
RepaintManager. addDirtyRegion(Applet applet, int x, int y, int w, int h)
Deprecated.The Applet API is deprecated.static JScrollPane
JTable. createScrollPaneForTable(JTable aTable)
Deprecated.As of Swing version 1.0.2, replaced bynew JScrollPane(aTable)
.void
JComponent. disable()
Deprecated.As of JDK version 1.1, replaced byjava.awt.Component.setEnabled(boolean)
.static void
FocusManager. disableSwingFocusManager()
Deprecated.as of 1.4, replaced byKeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy)
void
JComponent. enable()
Deprecated.As of JDK version 1.1, replaced byjava.awt.Component.setEnabled(boolean)
.static Component
SwingUtilities. findFocusOwner(Component c)
Deprecated.As of 1.4, replaced byKeyboardFocusManager.getFocusOwner()
.Component
JMenuBar. getComponentAtIndex(int i)
Deprecated.replaced bygetComponent(int i)
Component
JPopupMenu. getComponentAtIndex(int i)
Deprecated.replaced byContainer.getComponent(int)
static KeyStroke
KeyStroke. getKeyStroke(char keyChar, boolean onKeyRelease)
Deprecated.use getKeyStroke(char)String
AbstractButton. getLabel()
Deprecated.- Replaced bygetText
JMenuBar
JInternalFrame. getMenuBar()
Deprecated.As of Swing version 1.0.3, replaced bygetJMenuBar()
.JMenuBar
JRootPane. getMenuBar()
Deprecated.As of Swing version 1.0.3 replaced bygetJMenuBar()
.Component
JComponent. getNextFocusableComponent()
Deprecated.As of 1.4, replaced byFocusTraversalPolicy
.Object[]
JList. getSelectedValues()
Deprecated.As of JDK 1.7, replaced byJList.getSelectedValuesList()
String
JPasswordField. getText()
Deprecated.As of Java 2 platform v1.2, replaced bygetPassword
.String
JPasswordField. getText(int offs, int len)
Deprecated.As of Java 2 platform v1.2, replaced bygetPassword
.Rectangle
ScrollPaneLayout. getViewportBorderBounds(JScrollPane scrollpane)
Deprecated.As of JDK version Swing1.1 replaced byJScrollPane.getViewportBorderBounds()
.boolean
JViewport. isBackingStoreEnabled()
Deprecated.As of Java 2 platform v1.3, replaced bygetScrollMode()
.static boolean
FocusManager. isFocusManagerEnabled()
Deprecated.As of 1.4, replaced byKeyboardFocusManager.getDefaultFocusTraversalPolicy()
boolean
JComponent. isManagingFocus()
Deprecated.As of 1.4, replaced byComponent.setFocusTraversalKeys(int, Set)
andContainer.setFocusCycleRoot(boolean)
.boolean
JComponent. requestDefaultFocus()
Deprecated.As of 1.4, replaced byFocusTraversalPolicy.getDefaultComponent(Container).requestFocus()
void
JComponent. reshape(int x, int y, int w, int h)
Deprecated.As of JDK 5, replaced byComponent.setBounds(int, int, int, int)
.void
JViewport. setBackingStoreEnabled(boolean enabled)
Deprecated.As of Java 2 platform v1.3, replaced bysetScrollMode()
.void
AbstractButton. setLabel(String label)
Deprecated.- Replaced bysetText(text)
void
JInternalFrame. setMenuBar(JMenuBar m)
Deprecated.As of Swing version 1.0.3 replaced bysetJMenuBar(JMenuBar m)
.void
JRootPane. setMenuBar(JMenuBar menu)
Deprecated.As of Swing version 1.0.3 replaced bysetJMenuBar(JMenuBar menu)
.void
JComponent. setNextFocusableComponent(Component aComponent)
Deprecated.As of 1.4, replaced byFocusTraversalPolicy
boolean
InputVerifier. shouldYieldFocus(JComponent input)
Deprecated.void
JTable. sizeColumnsToFit(boolean lastColumnOnly)
Deprecated.As of Swing version 1.0.3, replaced bydoLayout()
. -
Uses of Deprecated in javax.swing.plaf
Methods in javax.swing.plaf with annotations of type Deprecated Modifier and Type Method Description String
TextUI. getToolTipText(JTextComponent t, Point pt)
Deprecated.replaced byTextUI.getToolTipText2D(JTextComponent, Point2D)
abstract Rectangle
TextUI. modelToView(JTextComponent t, int pos)
Deprecated.abstract Rectangle
TextUI. modelToView(JTextComponent t, int pos, Position.Bias bias)
Deprecated.abstract int
TextUI. viewToModel(JTextComponent t, Point pt)
Deprecated.abstract int
TextUI. viewToModel(JTextComponent t, Point pt, Position.Bias[] biasReturn)
Deprecated. -
Uses of Deprecated in javax.swing.plaf.basic
Fields in javax.swing.plaf.basic with annotations of type Deprecated Modifier and Type Field Description protected KeyStroke
BasicDesktopPaneUI. closeKey
Deprecated.As of 1.3.protected KeyStroke
BasicSplitPaneUI. dividerResizeToggleKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicSplitPaneUI. downKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicTabbedPaneUI. downKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicToolBarUI. downKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicSplitPaneUI. endKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicSplitPaneUI. homeKey
Deprecated.As of Java 2 platform v1.3.protected ActionListener
BasicSplitPaneUI. keyboardDownRightListener
Deprecated.As of Java 2 platform v1.3.protected ActionListener
BasicSplitPaneUI. keyboardEndListener
Deprecated.As of Java 2 platform v1.3.protected ActionListener
BasicSplitPaneUI. keyboardHomeListener
Deprecated.As of Java 2 platform v1.3.protected ActionListener
BasicSplitPaneUI. keyboardResizeToggleListener
Deprecated.As of Java 2 platform v1.3.protected ActionListener
BasicSplitPaneUI. keyboardUpLeftListener
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicSplitPaneUI. leftKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicTabbedPaneUI. leftKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicToolBarUI. leftKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicDesktopPaneUI. maximizeKey
Deprecated.As of 1.3.protected KeyStroke
BasicDesktopPaneUI. minimizeKey
Deprecated.As of 1.3.protected KeyStroke
BasicDesktopPaneUI. navigateKey
Deprecated.As of 1.3.protected KeyStroke
BasicDesktopPaneUI. navigateKey2
Deprecated.As of 1.3.protected KeyStroke
BasicInternalFrameUI. openMenuKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicSplitPaneUI. rightKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicTabbedPaneUI. rightKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicToolBarUI. rightKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicSplitPaneUI. upKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicTabbedPaneUI. upKey
Deprecated.As of Java 2 platform v1.3.protected KeyStroke
BasicToolBarUI. upKey
Deprecated.As of Java 2 platform v1.3.Methods in javax.swing.plaf.basic with annotations of type Deprecated Modifier and Type Method Description protected ActionListener
BasicSplitPaneUI. createKeyboardDownRightListener()
Deprecated.As of Java 2 platform v1.3.protected ActionListener
BasicSplitPaneUI. createKeyboardEndListener()
Deprecated.As of Java 2 platform v1.3.protected ActionListener
BasicSplitPaneUI. createKeyboardHomeListener()
Deprecated.As of Java 2 platform v1.3.protected ActionListener
BasicSplitPaneUI. createKeyboardResizeToggleListener()
Deprecated.As of Java 2 platform v1.3.protected ActionListener
BasicSplitPaneUI. createKeyboardUpLeftListener()
Deprecated.As of Java 2 platform v1.3.protected int
BasicSplitPaneUI. getDividerBorderSize()
Deprecated.As of Java 2 platform v1.3, instead set the border on the divider.Rectangle
BasicTextUI. modelToView(JTextComponent tc, int pos)
Deprecated.Rectangle
BasicTextUI. modelToView(JTextComponent tc, int pos, Position.Bias bias)
Deprecated.int
BasicTextUI. viewToModel(JTextComponent tc, Point pt)
Deprecated.int
BasicTextUI. viewToModel(JTextComponent tc, Point pt, Position.Bias[] biasReturn)
Deprecated. -
Uses of Deprecated in javax.swing.plaf.metal
Classes in javax.swing.plaf.metal with annotations of type Deprecated Modifier and Type Class Description class
MetalComboBoxUI.MetalComboPopup
Deprecated.As of Java 2 platform v1.4.protected class
MetalFileChooserUI.FileRenderer
Deprecated.As of JDK version 9.protected class
MetalFileChooserUI.SingleClickListener
Deprecated.As of JDK version 9.Methods in javax.swing.plaf.metal with annotations of type Deprecated Modifier and Type Method Description protected void
MetalComboBoxUI. editablePropertyChanged(PropertyChangeEvent e)
Deprecated.As of Java 2 platform v1.4.protected void
MetalComboBoxUI. removeListeners()
Deprecated.As of Java 2 platform v1.4.void
MetalScrollPaneUI. uninstallListeners(JScrollPane scrollPane)
Deprecated.- Replaced byBasicScrollPaneUI.uninstallListeners(JComponent)
-
Uses of Deprecated in javax.swing.plaf.multi
Methods in javax.swing.plaf.multi with annotations of type Deprecated Modifier and Type Method Description Rectangle
MultiTextUI. modelToView(JTextComponent a, int b)
Deprecated.Rectangle
MultiTextUI. modelToView(JTextComponent a, int b, Position.Bias c)
Deprecated.int
MultiTextUI. viewToModel(JTextComponent a, Point b)
Deprecated.int
MultiTextUI. viewToModel(JTextComponent a, Point b, Position.Bias[] c)
Deprecated. -
Uses of Deprecated in javax.swing.table
Fields in javax.swing.table with annotations of type Deprecated Modifier and Type Field Description protected int
TableColumn. resizedPostingDisableCount
Deprecated.as of Java 2 platform v1.3Methods in javax.swing.table with annotations of type Deprecated Modifier and Type Method Description void
TableColumn. disableResizedPosting()
Deprecated.as of Java 2 platform v1.3void
TableColumn. enableResizedPosting()
Deprecated.as of Java 2 platform v1.3 -
Uses of Deprecated in javax.swing.text
Classes in javax.swing.text with annotations of type Deprecated Modifier and Type Class Description class
DefaultTextUI
Deprecated.class
TableView.TableCell
Deprecated.A table cell can now be any View implementation.Methods in javax.swing.text with annotations of type Deprecated Modifier and Type Method Description protected TableView.TableCell
TableView. 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 int
PasswordView. drawEchoCharacter(Graphics g, int x, int y, char c)
Deprecated.protected void
PlainView. drawLine(int lineIndex, Graphics g, int x, int y)
Deprecated.protected void
WrappedPlainView. drawLine(int p0, int p1, Graphics g, int x, int y)
Deprecated.protected int
PasswordView. drawSelectedText(Graphics g, int x, int y, int p0, int p1)
Deprecated.protected int
PlainView. drawSelectedText(Graphics g, int x, int y, int p0, int p1)
Deprecated.protected int
WrappedPlainView. drawSelectedText(Graphics g, int x, int y, int p0, int p1)
Deprecated.static int
Utilities. drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset)
Deprecated.protected int
PasswordView. drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
Deprecated.protected int
PlainView. drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
Deprecated.protected int
WrappedPlainView. drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
Deprecated.static int
Utilities. getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)
Deprecated.protected FontMetrics
LabelView. getFontMetrics()
Deprecated.FontMetrics are not used for glyph rendering when running in the JDK.static int
Utilities. getPositionAbove(JTextComponent c, int offs, int x)
Deprecated.static int
Utilities. getPositionBelow(JTextComponent c, int offs, int x)
Deprecated.static int
Utilities. getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)
Deprecated.static int
Utilities. getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset, boolean round)
Deprecated.static int
Utilities. getTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset)
Deprecated.Rectangle
JTextComponent. modelToView(int pos)
Deprecated.replaced byJTextComponent.modelToView2D(int)
Shape
View. modelToView(int pos, Shape a)
Deprecated.int
JTextComponent. viewToModel(Point pt)
Deprecated.replaced byJTextComponent.viewToModel2D(Point2D)
int
View. viewToModel(float x, float y, Shape a)
Deprecated. -
Uses of Deprecated in javax.swing.text.html
Fields in javax.swing.text.html with annotations of type Deprecated Modifier and Type Field Description static String
FormView. RESET
Deprecated.As of 1.3, value comes from UIManager UIManager property FormView.resetButtonTextstatic String
FormView. SUBMIT
Deprecated.As of 1.3, value now comes from UIManager property FormView.submitButtonTextMethods in javax.swing.text.html with annotations of type Deprecated Modifier and Type Method Description protected void
HTMLEditorKit.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.tree
Methods in javax.swing.tree with annotations of type Deprecated Modifier and Type Method Description protected void
DefaultTreeSelectionModel. notifyPathChange(Vector<?> changedPaths, TreePath oldLeadSelection)
Deprecated.As of JDK version 1.7 -
Uses of Deprecated in javax.tools
Methods in javax.tools with annotations of type Deprecated Modifier and Type Method Description static ClassLoader
ToolProvider. getSystemToolClassLoader()
Deprecated.This method is subject to removal in a future version of Java SE. -
Uses of Deprecated in javax.xml.bind
Methods in javax.xml.bind with annotations of type Deprecated Modifier and Type Method Description abstract Validator
JAXBContext. createValidator()
Deprecated.since JAXB2.0 -
Uses of Deprecated in javax.xml.stream
Methods in javax.xml.stream with annotations of type Deprecated Modifier and Type Method Description static XMLEventFactory
XMLEventFactory. newInstance(String factoryId, ClassLoader classLoader)
Deprecated.This method has been deprecated to maintain API consistency.static XMLInputFactory
XMLInputFactory. newInstance(String factoryId, ClassLoader classLoader)
Deprecated.This method has been deprecated to maintain API consistency.static XMLInputFactory
XMLOutputFactory. 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.management.cmm
Classes in jdk.management.cmm with annotations of type Deprecated Modifier and Type Interface Description interface
SystemResourcePressureMXBean
Deprecated, for removal: This API element is subject to removal in a future version.Cooperative Memory Management is deprecated for removal with no replacement. -
Uses of Deprecated in jdk.management.resource
Classes in jdk.management.resource with annotations of type Deprecated Modifier and Type Class Description class
BoundedMeter
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.class
NotifyingMeter
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.class
ResourceAccuracy
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.interface
ResourceApprover
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.interface
ResourceContext
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.class
ResourceContextFactory
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.interface
ResourceId
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.interface
ResourceMeter
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.interface
ResourceRequest
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.class
ResourceRequestDeniedException
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.class
ResourceType
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.class
SimpleMeter
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement.class
ThrottledMeter
Deprecated, for removal: This API element is subject to removal in a future version.Resource Management is deprecated for removal with no replacement. -
Uses of Deprecated in jdk.nashorn.api.scripting
Methods in jdk.nashorn.api.scripting with annotations of type Deprecated Modifier and Type Method Description static Object
AbstractJSObject. getDefaultValue(JSObject jsobj, Class<?> hint)
Deprecated.useJSObject.getDefaultValue(Class)
instead.double
AbstractJSObject. toNumber()
Deprecated.useJSObject.getDefaultValue(Class)
withNumber
hint instead.default double
JSObject. toNumber()
Deprecated.useJSObject.getDefaultValue(Class)
withNumber
hint instead. -
Uses of Deprecated in netscape.javascript
Methods in netscape.javascript with annotations of type Deprecated Modifier and Type Method Description static JSObject
JSObject. getWindow(Applet applet)
Deprecated.The Applet API is deprecated. -
Uses of Deprecated in org.omg.CORBA
Classes in org.omg.CORBA with annotations of type Deprecated Modifier and Type Class Description class
DynamicImplementation
Deprecated.org.omg.CORBA.DynamicImplementationinterface
DynAny
Deprecated.Use the new DynAny insteadinterface
DynArray
Deprecated.Use the new DynArray insteadinterface
DynEnum
Deprecated.Use the new DynEnum insteadinterface
DynFixed
Deprecated.Use the new DynFixed insteadinterface
DynSequence
Deprecated.Use the new DynSequence insteadinterface
DynStruct
Deprecated.Use the new DynStruct insteadinterface
DynUnion
Deprecated.Use the new DynUnion insteadinterface
DynValue
Deprecated.Use the new DynValue insteadclass
Principal
Deprecated.Deprecated by CORBA 2.2.class
PrincipalHolder
Deprecated.Deprecated by CORBA 2.2.Methods in org.omg.CORBA with annotations of type Deprecated Modifier and Type Method Description DynAny
ORB. create_basic_dyn_any(TypeCode type)
Deprecated.Use the new DynAnyFactory API insteadDynAny
ORB. create_dyn_any(Any value)
Deprecated.Use the new DynAnyFactory API insteadDynArray
ORB. create_dyn_array(TypeCode type)
Deprecated.Use the new DynAnyFactory API insteadDynEnum
ORB. create_dyn_enum(TypeCode type)
Deprecated.Use the new DynAnyFactory API insteadDynSequence
ORB. create_dyn_sequence(TypeCode type)
Deprecated.Use the new DynAnyFactory API insteadDynStruct
ORB. create_dyn_struct(TypeCode type)
Deprecated.Use the new DynAnyFactory API insteadDynUnion
ORB. create_dyn_union(TypeCode type)
Deprecated.Use the new DynAnyFactory API insteadabstract TypeCode
ORB. create_recursive_sequence_tc(int bound, int offset)
Deprecated.Use a combination of create_recursive_tc and create_sequence_tc insteadvoid
ServerRequest. except(Any any)
Deprecated.use set_exception()Principal
Any. extract_Principal()
Deprecated.Deprecated by CORBA 2.2.Current
ORB. get_current()
Deprecated.useresolve_initial_references
.void
Any. insert_Principal(Principal p)
Deprecated.Deprecated by CORBA 2.2.void
DynamicImplementation. invoke(ServerRequest request)
Deprecated.Deprecated by Portable Object Adapterbyte[]
Principal. name()
Deprecated.Deprecated by CORBA 2.2.void
Principal. name(byte[] value)
Deprecated.Deprecated by CORBA 2.2.String
ServerRequest. op_name()
Deprecated.use operation()void
ServerRequest. params(NVList params)
Deprecated.use the methodarguments
void
ServerRequest. result(Any any)
Deprecated.use the methodset_result
Constructors in org.omg.CORBA with annotations of type Deprecated Constructor Description TCKind(int _value)
Deprecated.Do not use this constructor as this method should be private according to the OMG specification. -
Uses of Deprecated in org.omg.CORBA.portable
Methods in org.omg.CORBA.portable with annotations of type Deprecated Modifier and Type Method Description Principal
InputStream. read_Principal()
Deprecated.Deprecated by CORBA 2.2.void
OutputStream. write_Principal(Principal value)
Deprecated.Deprecated by CORBA 2.2. -
Uses of Deprecated in org.xml.sax
Classes in org.xml.sax with annotations of type Deprecated Modifier and Type Interface Description interface
AttributeList
Deprecated.This interface has been replaced by the SAX2Attributes
interface, which includes Namespace support.interface
DocumentHandler
Deprecated.This interface has been replaced by the SAX2ContentHandler
interface, which includes Namespace support.class
HandlerBase
Deprecated.This class works with the deprecatedDocumentHandler
interface.interface
Parser
Deprecated.This interface has been replaced by the SAX2XMLReader
interface, which includes Namespace support. -
Uses of Deprecated in org.xml.sax.helpers
Classes in org.xml.sax.helpers with annotations of type Deprecated Modifier and Type Class Description class
AttributeListImpl
Deprecated.This class implements a deprecated interface,AttributeList
; that interface has been replaced byAttributes
, which is implemented in theAttributesImpl
helper class.class
ParserFactory
Deprecated.This class works with the deprecatedParser
interface.class
XMLReaderFactory
Deprecated.It is recommended to useSAXParserFactory
instead.
-