Deprecated API


Contents
Deprecated Interfaces
org.xml.sax.AttributeList sample code for org.xml.sax.AttributeList definition code for org.xml.sax.AttributeList
          This interface has been replaced by the SAX2 Attributes sample code for org.xml.sax.Attributes definition code for org.xml.sax.Attributes interface, which includes Namespace support. 
java.security.Certificate sample code for java.security.Certificate definition code for java.security.Certificate
          A new certificate handling package is created in the Java 2 platform. This Certificate interface is entirely deprecated and is here to allow for a smooth transition to the new package. 
org.xml.sax.DocumentHandler sample code for org.xml.sax.DocumentHandler definition code for org.xml.sax.DocumentHandler
          This interface has been replaced by the SAX2 ContentHandler sample code for org.xml.sax.ContentHandler definition code for org.xml.sax.ContentHandler interface, which includes Namespace support. 
org.omg.CORBA.DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny
          Use the new DynAny instead 
org.omg.CORBA.DynArray sample code for org.omg.CORBA.DynArray definition code for org.omg.CORBA.DynArray
          Use the new DynArray instead 
org.omg.CORBA.DynEnum sample code for org.omg.CORBA.DynEnum definition code for org.omg.CORBA.DynEnum
          Use the new DynEnum instead 
org.omg.CORBA.DynFixed sample code for org.omg.CORBA.DynFixed definition code for org.omg.CORBA.DynFixed
          Use the new DynFixed instead 
org.omg.CORBA.DynSequence sample code for org.omg.CORBA.DynSequence definition code for org.omg.CORBA.DynSequence
          Use the new DynSequence instead 
org.omg.CORBA.DynStruct sample code for org.omg.CORBA.DynStruct definition code for org.omg.CORBA.DynStruct
          Use the new DynStruct instead 
org.omg.CORBA.DynUnion sample code for org.omg.CORBA.DynUnion definition code for org.omg.CORBA.DynUnion
          Use the new DynUnion instead 
org.omg.CORBA.DynValue sample code for org.omg.CORBA.DynValue definition code for org.omg.CORBA.DynValue
          Use the new DynValue instead 
java.rmi.server.LoaderHandler sample code for java.rmi.server.LoaderHandler definition code for java.rmi.server.LoaderHandler
          no replacement 
org.xml.sax.Parser sample code for org.xml.sax.Parser definition code for org.xml.sax.Parser
          This interface has been replaced by the SAX2 XMLReader sample code for org.xml.sax.XMLReader definition code for org.xml.sax.XMLReader interface, which includes Namespace support. 
java.rmi.registry.RegistryHandler sample code for java.rmi.registry.RegistryHandler definition code for java.rmi.registry.RegistryHandler
          no replacement 
java.rmi.server.RemoteCall sample code for java.rmi.server.RemoteCall definition code for java.rmi.server.RemoteCall
          no replacement. 
java.rmi.server.Skeleton sample code for java.rmi.server.Skeleton definition code for java.rmi.server.Skeleton
          no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater. 
 

Deprecated Classes
javax.accessibility.AccessibleResourceBundle sample code for javax.accessibility.AccessibleResourceBundle definition code for javax.accessibility.AccessibleResourceBundle
          This class is deprecated as of version 1.3 of the Java 2 Platform. 
org.xml.sax.helpers.AttributeListImpl sample code for org.xml.sax.helpers.AttributeListImpl definition code for org.xml.sax.helpers.AttributeListImpl
          This class implements a deprecated interface, AttributeList sample code for org.xml.sax.AttributeList definition code for org.xml.sax.AttributeList ; that interface has been replaced by Attributes sample code for org.xml.sax.Attributes definition code for org.xml.sax.Attributes , which is implemented in the AttributesImpl sample code for org.xml.sax.helpers.AttributesImpl definition code for org.xml.sax.helpers.AttributesImpl helper class. 
javax.management.DefaultLoaderRepository sample code for javax.management.DefaultLoaderRepository definition code for javax.management.DefaultLoaderRepository
          Use MBeanServer.getClassLoaderRepository() sample code for javax.management.MBeanServer.getClassLoaderRepository() definition code for javax.management.MBeanServer.getClassLoaderRepository() instead. 
javax.management.loading.DefaultLoaderRepository sample code for javax.management.loading.DefaultLoaderRepository definition code for javax.management.loading.DefaultLoaderRepository
          Use MBeanServer.getClassLoaderRepository() sample code for javax.management.MBeanServer.getClassLoaderRepository() definition code for javax.management.MBeanServer.getClassLoaderRepository() } instead. 
javax.swing.text.DefaultTextUI sample code for javax.swing.text.DefaultTextUI definition code for javax.swing.text.DefaultTextUI
            
org.omg.CORBA.DynamicImplementation sample code for org.omg.CORBA.DynamicImplementation definition code for org.omg.CORBA.DynamicImplementation
          org.omg.CORBA.DynamicImplementation 
org.xml.sax.HandlerBase sample code for org.xml.sax.HandlerBase definition code for org.xml.sax.HandlerBase
          This class works with the deprecated DocumentHandler sample code for org.xml.sax.DocumentHandler definition code for org.xml.sax.DocumentHandler interface. It has been replaced by the SAX2 DefaultHandler sample code for org.xml.sax.helpers.DefaultHandler definition code for org.xml.sax.helpers.DefaultHandler class. 
java.security.Identity sample code for java.security.Identity definition code for java.security.Identity
          This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.security.IdentityScope sample code for java.security.IdentityScope definition code for java.security.IdentityScope
          This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.io.LineNumberInputStream sample code for java.io.LineNumberInputStream definition code for java.io.LineNumberInputStream
          This class incorrectly assumes that bytes adequately represent characters. As of JDK 1.1, the preferred way to operate on character streams is via the new character-stream classes, which include a class for counting line numbers. 
java.rmi.server.LogStream sample code for java.rmi.server.LogStream definition code for java.rmi.server.LogStream
          no replacement 
javax.swing.plaf.metal.MetalComboBoxUI.MetalComboPopup sample code for javax.swing.plaf.metal.MetalComboBoxUI.MetalComboPopup definition code for javax.swing.plaf.metal.MetalComboBoxUI.MetalComboPopup
          As of Java 2 platform v1.4. 
java.rmi.server.Operation sample code for java.rmi.server.Operation definition code for java.rmi.server.Operation
          no replacement 
org.xml.sax.helpers.ParserFactory sample code for org.xml.sax.helpers.ParserFactory definition code for org.xml.sax.helpers.ParserFactory
          This class works with the deprecated Parser sample code for org.xml.sax.Parser definition code for org.xml.sax.Parser interface. 
javax.security.auth.Policy sample code for javax.security.auth.Policy definition code for javax.security.auth.Policy
          as of JDK version 1.4 -- Replaced by java.security.Policy. java.security.Policy has a method:
        public PermissionCollection getPermissions
            (java.security.ProtectionDomain pd)
 
 
and ProtectionDomain has a constructor:
        public ProtectionDomain
            (CodeSource cs,
             PermissionCollection permissions,
             ClassLoader loader,
             Principal[] principals)
 
These two APIs provide callers the means to query the Policy for Principal-based Permission entries.
 
org.omg.CORBA.Principal sample code for org.omg.CORBA.Principal definition code for org.omg.CORBA.Principal
          Deprecated by CORBA 2.2. 
org.omg.CORBA.PrincipalHolder sample code for org.omg.CORBA.PrincipalHolder definition code for org.omg.CORBA.PrincipalHolder
          Deprecated by CORBA 2.2. 
java.security.Signer sample code for java.security.Signer definition code for java.security.Signer
          This class is no longer used. Its functionality has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal. 
java.io.StringBufferInputStream sample code for java.io.StringBufferInputStream definition code for java.io.StringBufferInputStream
          This class does not properly convert characters into bytes. As of JDK 1.1, the preferred way to create a stream from a string is via the StringReader class. 
javax.swing.text.TableView.TableCell sample code for javax.swing.text.TableView.TableCell definition code for javax.swing.text.TableView.TableCell
          A table cell can now be any View implementation. 
javax.management.timer.TimerAlarmClockNotification sample code for javax.management.timer.TimerAlarmClockNotification definition code for javax.management.timer.TimerAlarmClockNotification
          This class is of no use to user code. It is retained purely for compatibility reasons. 
 

Deprecated Exceptions
java.rmi.RMISecurityException sample code for java.rmi.RMISecurityException definition code for java.rmi.RMISecurityException
          Use SecurityException sample code for java.lang.SecurityException definition code for java.lang.SecurityException instead. Application code should never directly reference this class, and RMISecurityManager no longer throws this subclass of java.lang.SecurityException. 
java.rmi.ServerRuntimeException sample code for java.rmi.ServerRuntimeException definition code for java.rmi.ServerRuntimeException
          no replacement 
java.rmi.server.SkeletonMismatchException sample code for java.rmi.server.SkeletonMismatchException definition code for java.rmi.server.SkeletonMismatchException
          no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater. 
java.rmi.server.SkeletonNotFoundException sample code for java.rmi.server.SkeletonNotFoundException definition code for java.rmi.server.SkeletonNotFoundException
          no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater. 
 

Deprecated Fields
javax.management.monitor.Monitor.alreadyNotified sample code for javax.management.monitor.Monitor.alreadyNotified definition code for javax.management.monitor.Monitor.alreadyNotified
          equivalent to Monitor.alreadyNotifieds sample code for javax.management.monitor.Monitor.alreadyNotifieds definition code for javax.management.monitor.Monitor.alreadyNotifieds [0]. 
javax.swing.JViewport.backingStore sample code for javax.swing.JViewport.backingStore definition code for javax.swing.JViewport.backingStore
          As of Java 2 platform v1.3 
javax.swing.plaf.basic.BasicDesktopPaneUI.closeKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.closeKey definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.closeKey
          As of 1.3. 
java.awt.Frame.CROSSHAIR_CURSOR sample code for java.awt.Frame.CROSSHAIR_CURSOR definition code for java.awt.Frame.CROSSHAIR_CURSOR
          replaced by Cursor.CROSSHAIR_CURSOR. 
javax.management.monitor.Monitor.dbgTag sample code for javax.management.monitor.Monitor.dbgTag definition code for javax.management.monitor.Monitor.dbgTag
          No replacement. 
java.awt.Frame.DEFAULT_CURSOR sample code for java.awt.Frame.DEFAULT_CURSOR definition code for java.awt.Frame.DEFAULT_CURSOR
          replaced by Cursor.DEFAULT_CURSOR. 
javax.swing.JRootPane.defaultPressAction sample code for javax.swing.JRootPane.defaultPressAction definition code for javax.swing.JRootPane.defaultPressAction
          As of Java 2 platform v1.3. 
javax.swing.JRootPane.defaultReleaseAction sample code for javax.swing.JRootPane.defaultReleaseAction definition code for javax.swing.JRootPane.defaultReleaseAction
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicSplitPaneUI.dividerResizeToggleKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.dividerResizeToggleKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.dividerResizeToggleKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicToolBarUI.downKey sample code for javax.swing.plaf.basic.BasicToolBarUI.downKey definition code for javax.swing.plaf.basic.BasicToolBarUI.downKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicTabbedPaneUI.downKey sample code for javax.swing.plaf.basic.BasicTabbedPaneUI.downKey definition code for javax.swing.plaf.basic.BasicTabbedPaneUI.downKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicSplitPaneUI.downKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.downKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.downKey
          As of Java 2 platform v1.3. 
java.awt.Frame.E_RESIZE_CURSOR sample code for java.awt.Frame.E_RESIZE_CURSOR definition code for java.awt.Frame.E_RESIZE_CURSOR
          replaced by Cursor.E_RESIZE_CURSOR. 
javax.swing.plaf.basic.BasicSplitPaneUI.endKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.endKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.endKey
          As of Java 2 platform v1.3. 
java.awt.Frame.HAND_CURSOR sample code for java.awt.Frame.HAND_CURSOR definition code for java.awt.Frame.HAND_CURSOR
          replaced by Cursor.HAND_CURSOR. 
javax.swing.plaf.basic.BasicSplitPaneUI.homeKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.homeKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.homeKey
          As of Java 2 platform v1.3. 
java.net.HttpURLConnection.HTTP_SERVER_ERROR sample code for java.net.HttpURLConnection.HTTP_SERVER_ERROR definition code for java.net.HttpURLConnection.HTTP_SERVER_ERROR
          it is misplaced and shouldn't have existed. 
java.lang.SecurityManager.inCheck sample code for java.lang.SecurityManager.inCheck definition code for java.lang.SecurityManager.inCheck
          This type of security checking is not recommended. It is recommended that the checkPermission call be used instead. 
javax.swing.plaf.basic.BasicSplitPaneUI.keyboardDownRightListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardDownRightListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardDownRightListener
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicSplitPaneUI.keyboardEndListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardEndListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardEndListener
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicSplitPaneUI.keyboardHomeListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardHomeListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardHomeListener
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicSplitPaneUI.keyboardResizeToggleListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardResizeToggleListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardResizeToggleListener
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicSplitPaneUI.keyboardUpLeftListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardUpLeftListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardUpLeftListener
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicToolBarUI.leftKey sample code for javax.swing.plaf.basic.BasicToolBarUI.leftKey definition code for javax.swing.plaf.basic.BasicToolBarUI.leftKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicTabbedPaneUI.leftKey sample code for javax.swing.plaf.basic.BasicTabbedPaneUI.leftKey definition code for javax.swing.plaf.basic.BasicTabbedPaneUI.leftKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicSplitPaneUI.leftKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.leftKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.leftKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicDesktopPaneUI.maximizeKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.maximizeKey definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.maximizeKey
          As of 1.3. 
javax.swing.plaf.basic.BasicDesktopPaneUI.minimizeKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.minimizeKey definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.minimizeKey
          As of 1.3. 
java.awt.Frame.MOVE_CURSOR sample code for java.awt.Frame.MOVE_CURSOR definition code for java.awt.Frame.MOVE_CURSOR
          replaced by Cursor.MOVE_CURSOR. 
java.awt.Frame.N_RESIZE_CURSOR sample code for java.awt.Frame.N_RESIZE_CURSOR definition code for java.awt.Frame.N_RESIZE_CURSOR
          replaced by Cursor.N_RESIZE_CURSOR. 
javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey
          As of 1.3. 
javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey2 sample code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey2 definition code for javax.swing.plaf.basic.BasicDesktopPaneUI.navigateKey2
          As of 1.3. 
java.awt.Frame.NE_RESIZE_CURSOR sample code for java.awt.Frame.NE_RESIZE_CURSOR definition code for java.awt.Frame.NE_RESIZE_CURSOR
          replaced by Cursor.NE_RESIZE_CURSOR. 
java.awt.Frame.NW_RESIZE_CURSOR sample code for java.awt.Frame.NW_RESIZE_CURSOR definition code for java.awt.Frame.NW_RESIZE_CURSOR
          replaced by Cursor.NW_RESIZE_CURSOR. 
javax.swing.plaf.basic.BasicInternalFrameUI.openMenuKey sample code for javax.swing.plaf.basic.BasicInternalFrameUI.openMenuKey definition code for javax.swing.plaf.basic.BasicInternalFrameUI.openMenuKey
          As of Java 2 platform v1.3. 
java.awt.datatransfer.DataFlavor.plainTextFlavor sample code for java.awt.datatransfer.DataFlavor.plainTextFlavor definition code for java.awt.datatransfer.DataFlavor.plainTextFlavor
          as of 1.3. Use DataFlavor.getReaderForText(Transferable) instead of Transferable.getTransferData(DataFlavor.plainTextFlavor). 
javax.swing.text.html.FormView.RESET sample code for javax.swing.text.html.FormView.RESET definition code for javax.swing.text.html.FormView.RESET
          As of 1.3, value comes from UIManager UIManager property FormView.resetButtonText 
javax.swing.table.TableColumn.resizedPostingDisableCount sample code for javax.swing.table.TableColumn.resizedPostingDisableCount definition code for javax.swing.table.TableColumn.resizedPostingDisableCount
          as of Java 2 platform v1.3 
javax.swing.plaf.basic.BasicToolBarUI.rightKey sample code for javax.swing.plaf.basic.BasicToolBarUI.rightKey definition code for javax.swing.plaf.basic.BasicToolBarUI.rightKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicTabbedPaneUI.rightKey sample code for javax.swing.plaf.basic.BasicTabbedPaneUI.rightKey definition code for javax.swing.plaf.basic.BasicTabbedPaneUI.rightKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicSplitPaneUI.rightKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.rightKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.rightKey
          As of Java 2 platform v1.3. 
java.awt.Frame.S_RESIZE_CURSOR sample code for java.awt.Frame.S_RESIZE_CURSOR definition code for java.awt.Frame.S_RESIZE_CURSOR
          replaced by Cursor.S_RESIZE_CURSOR. 
java.awt.Frame.SE_RESIZE_CURSOR sample code for java.awt.Frame.SE_RESIZE_CURSOR definition code for java.awt.Frame.SE_RESIZE_CURSOR
          replaced by Cursor.SE_RESIZE_CURSOR. 
javax.swing.text.html.FormView.SUBMIT sample code for javax.swing.text.html.FormView.SUBMIT definition code for javax.swing.text.html.FormView.SUBMIT
          As of 1.3, value now comes from UIManager property FormView.submitButtonText 
java.lang.Character.UnicodeBlock.SURROGATES_AREA sample code for java.lang.Character.UnicodeBlock.SURROGATES_AREA definition code for java.lang.Character.UnicodeBlock.SURROGATES_AREA
          As of J2SE 5, use Character.UnicodeBlock.HIGH_SURROGATES sample code for java.lang.Character.UnicodeBlock.HIGH_SURROGATES definition code for java.lang.Character.UnicodeBlock.HIGH_SURROGATES , Character.UnicodeBlock.HIGH_PRIVATE_USE_SURROGATES sample code for java.lang.Character.UnicodeBlock.HIGH_PRIVATE_USE_SURROGATES definition code for java.lang.Character.UnicodeBlock.HIGH_PRIVATE_USE_SURROGATES , and Character.UnicodeBlock.LOW_SURROGATES sample code for java.lang.Character.UnicodeBlock.LOW_SURROGATES definition code for java.lang.Character.UnicodeBlock.LOW_SURROGATES . These new constants match the block definitions of the Unicode Standard. The Character.UnicodeBlock.of(char) sample code for java.lang.Character.UnicodeBlock.of(char) definition code for java.lang.Character.UnicodeBlock.of(char) and Character.UnicodeBlock.of(int) sample code for java.lang.Character.UnicodeBlock.of(int) definition code for java.lang.Character.UnicodeBlock.of(int) methods return the new constants, not SURROGATES_AREA. 
java.awt.Frame.SW_RESIZE_CURSOR sample code for java.awt.Frame.SW_RESIZE_CURSOR definition code for java.awt.Frame.SW_RESIZE_CURSOR
          replaced by Cursor.SW_RESIZE_CURSOR. 
java.awt.Frame.TEXT_CURSOR sample code for java.awt.Frame.TEXT_CURSOR definition code for java.awt.Frame.TEXT_CURSOR
          replaced by Cursor.TEXT_CURSOR. 
javax.swing.plaf.basic.BasicToolBarUI.upKey sample code for javax.swing.plaf.basic.BasicToolBarUI.upKey definition code for javax.swing.plaf.basic.BasicToolBarUI.upKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicTabbedPaneUI.upKey sample code for javax.swing.plaf.basic.BasicTabbedPaneUI.upKey definition code for javax.swing.plaf.basic.BasicTabbedPaneUI.upKey
          As of Java 2 platform v1.3. 
javax.swing.plaf.basic.BasicSplitPaneUI.upKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.upKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.upKey
          As of Java 2 platform v1.3. 
java.awt.Frame.W_RESIZE_CURSOR sample code for java.awt.Frame.W_RESIZE_CURSOR definition code for java.awt.Frame.W_RESIZE_CURSOR
          replaced by Cursor.W_RESIZE_CURSOR. 
java.awt.Frame.WAIT_CURSOR sample code for java.awt.Frame.WAIT_CURSOR definition code for java.awt.Frame.WAIT_CURSOR
          replaced by Cursor.WAIT_CURSOR. 
 

Deprecated Methods
java.awt.Component.action(Event, Object) sample code for java.awt.Component.action(java.awt.Event, java.lang.Object) definition code for java.awt.Component.action(java.awt.Event, java.lang.Object)
          As of JDK version 1.1, should register this component as ActionListener on component which fires action events. 
java.awt.List.addItem(String) sample code for java.awt.List.addItem(java.lang.String) definition code for java.awt.List.addItem(java.lang.String)
          replaced by add(String). 
java.awt.List.addItem(String, int) sample code for java.awt.List.addItem(java.lang.String, int) definition code for java.awt.List.addItem(java.lang.String, int)
          replaced by add(String, int). 
java.awt.BorderLayout.addLayoutComponent(String, Component) sample code for java.awt.BorderLayout.addLayoutComponent(java.lang.String, java.awt.Component) definition code for java.awt.BorderLayout.addLayoutComponent(java.lang.String, java.awt.Component)
          replaced by addLayoutComponent(Component, Object). 
java.awt.CardLayout.addLayoutComponent(String, Component) sample code for java.awt.CardLayout.addLayoutComponent(java.lang.String, java.awt.Component) definition code for java.awt.CardLayout.addLayoutComponent(java.lang.String, java.awt.Component)
          replaced by addLayoutComponent(Component, Object). 
java.awt.List.allowsMultipleSelections() sample code for java.awt.List.allowsMultipleSelections() definition code for java.awt.List.allowsMultipleSelections()
          As of JDK version 1.1, replaced by isMultipleMode(). 
java.lang.ThreadGroup.allowThreadSuspension(boolean) sample code for java.lang.ThreadGroup.allowThreadSuspension(boolean) definition code for java.lang.ThreadGroup.allowThreadSuspension(boolean)
          The definition of this call depends on ThreadGroup.suspend() sample code for java.lang.ThreadGroup.suspend() definition code for java.lang.ThreadGroup.suspend() , which is deprecated. Further, the behavior of this call was never specified. 
java.awt.TextArea.appendText(String) sample code for java.awt.TextArea.appendText(java.lang.String) definition code for java.awt.TextArea.appendText(java.lang.String)
          As of JDK version 1.1, replaced by append(String). 
java.awt.Window.applyResourceBundle(ResourceBundle) sample code for java.awt.Window.applyResourceBundle(java.util.ResourceBundle) definition code for java.awt.Window.applyResourceBundle(java.util.ResourceBundle)
          As of J2SE 1.4, replaced by Component.applyComponentOrientation sample code for java.awt.Component.applyComponentOrientation(java.awt.ComponentOrientation) definition code for java.awt.Component.applyComponentOrientation(java.awt.ComponentOrientation) . 
java.awt.Window.applyResourceBundle(String) sample code for java.awt.Window.applyResourceBundle(java.lang.String) definition code for java.awt.Window.applyResourceBundle(java.lang.String)
          As of J2SE 1.4, replaced by Component.applyComponentOrientation sample code for java.awt.Component.applyComponentOrientation(java.awt.ComponentOrientation) definition code for java.awt.Component.applyComponentOrientation(java.awt.ComponentOrientation) . 
java.awt.Component.bounds() sample code for java.awt.Component.bounds() definition code for java.awt.Component.bounds()
          As of JDK version 1.1, replaced by getBounds(). 
java.lang.SecurityManager.checkMulticast(InetAddress, byte) sample code for java.lang.SecurityManager.checkMulticast(java.net.InetAddress, byte) definition code for java.lang.SecurityManager.checkMulticast(java.net.InetAddress, byte)
          Use #checkPermission(java.security.Permission) instead 
java.lang.SecurityManager.classDepth(String) sample code for java.lang.SecurityManager.classDepth(java.lang.String) definition code for java.lang.SecurityManager.classDepth(java.lang.String)
          This type of security checking is not recommended. It is recommended that the checkPermission call be used instead. 
java.lang.SecurityManager.classLoaderDepth() sample code for java.lang.SecurityManager.classLoaderDepth() definition code for java.lang.SecurityManager.classLoaderDepth()
          This type of security checking is not recommended. It is recommended that the checkPermission call be used instead. 
java.awt.List.clear() sample code for java.awt.List.clear() definition code for java.awt.List.clear()
          As of JDK version 1.1, replaced by removeAll(). 
java.awt.image.renderable.RenderContext.concetenateTransform(AffineTransform) sample code for java.awt.image.renderable.RenderContext.concetenateTransform(java.awt.geom.AffineTransform) definition code for java.awt.image.renderable.RenderContext.concetenateTransform(java.awt.geom.AffineTransform)
          replaced by concatenateTransform(AffineTransform). 
java.awt.Container.countComponents() sample code for java.awt.Container.countComponents() definition code for java.awt.Container.countComponents()
          As of JDK version 1.1, replaced by getComponentCount(). 
java.awt.Menu.countItems() sample code for java.awt.Menu.countItems() definition code for java.awt.Menu.countItems()
          As of JDK version 1.1, replaced by getItemCount(). 
java.awt.List.countItems() sample code for java.awt.List.countItems() definition code for java.awt.List.countItems()
          As of JDK version 1.1, replaced by getItemCount(). 
java.awt.Choice.countItems() sample code for java.awt.Choice.countItems() definition code for java.awt.Choice.countItems()
          As of JDK version 1.1, replaced by getItemCount(). 
java.awt.MenuBar.countMenus() sample code for java.awt.MenuBar.countMenus() definition code for java.awt.MenuBar.countMenus()
          As of JDK version 1.1, replaced by getMenuCount(). 
java.lang.Thread.countStackFrames() sample code for java.lang.Thread.countStackFrames() definition code for java.lang.Thread.countStackFrames()
          The definition of this call depends on Thread.suspend() sample code for java.lang.Thread.suspend() definition code for java.lang.Thread.suspend() , which is deprecated. Further, the results of this call were never well-defined. 
org.omg.CORBA.ORB.create_basic_dyn_any(TypeCode) sample code for org.omg.CORBA.ORB.create_basic_dyn_any(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.ORB.create_basic_dyn_any(org.omg.CORBA.TypeCode)
          Use the new DynAnyFactory API instead 
org.omg.CORBA.ORB.create_dyn_any(Any) sample code for org.omg.CORBA.ORB.create_dyn_any(org.omg.CORBA.Any) definition code for org.omg.CORBA.ORB.create_dyn_any(org.omg.CORBA.Any)
          Use the new DynAnyFactory API instead 
org.omg.CORBA.ORB.create_dyn_array(TypeCode) sample code for org.omg.CORBA.ORB.create_dyn_array(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.ORB.create_dyn_array(org.omg.CORBA.TypeCode)
          Use the new DynAnyFactory API instead 
org.omg.CORBA.ORB.create_dyn_enum(TypeCode) sample code for org.omg.CORBA.ORB.create_dyn_enum(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.ORB.create_dyn_enum(org.omg.CORBA.TypeCode)
          Use the new DynAnyFactory API instead 
org.omg.CORBA.ORB.create_dyn_sequence(TypeCode) sample code for org.omg.CORBA.ORB.create_dyn_sequence(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.ORB.create_dyn_sequence(org.omg.CORBA.TypeCode)
          Use the new DynAnyFactory API instead 
org.omg.CORBA.ORB.create_dyn_struct(TypeCode) sample code for org.omg.CORBA.ORB.create_dyn_struct(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.ORB.create_dyn_struct(org.omg.CORBA.TypeCode)