|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Deprecated Classes | |
com.sun.java.swing.text.DefaultTextUI
|
|
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
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
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.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
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. |
Deprecated Interfaces | |
java.security.Certificate
A new certificate handling package is created in JDK1.2. This Certificate interface is entirely deprecated and is here to allow for a smooth transition to the new package. |
|
java.rmi.server.LoaderHandler
No replacement |
Deprecated Fields | |
java.awt.Frame.CROSSHAIR_CURSOR
replaced by Cursor.CROSSHAIR_CURSOR . |
|
java.awt.Frame.DEFAULT_CURSOR
replaced by Cursor.DEFAULT_CURSOR . |
|
java.awt.Frame.E_RESIZE_CURSOR
replaced by Cursor.E_RESIZE_CURSOR . |
|
java.awt.Frame.HAND_CURSOR
replaced by Cursor.HAND_CURSOR . |
|
java.lang.SecurityManager.inCheck
This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
|
java.awt.Frame.MOVE_CURSOR
replaced by Cursor.MOVE_CURSOR . |
|
java.awt.Frame.N_RESIZE_CURSOR
replaced by Cursor.N_RESIZE_CURSOR . |
|
java.awt.Frame.NE_RESIZE_CURSOR
replaced by Cursor.NE_RESIZE_CURSOR . |
|
java.awt.Frame.NW_RESIZE_CURSOR
replaced by Cursor.NW_RESIZE_CURSOR . |
|
java.awt.Frame.S_RESIZE_CURSOR
replaced by Cursor.S_RESIZE_CURSOR . |
|
java.awt.Frame.SE_RESIZE_CURSOR
replaced by Cursor.SE_RESIZE_CURSOR . |
|
java.awt.Frame.SW_RESIZE_CURSOR
replaced by Cursor.SW_RESIZE_CURSOR . |
|
java.awt.Frame.TEXT_CURSOR
replaced by Cursor.TEXT_CURSOR . |
|
java.awt.Frame.W_RESIZE_CURSOR
replaced by Cursor.W_RESIZE_CURSOR . |
|
java.awt.Frame.WAIT_CURSOR
replaced by Cursor.WAIT_CURSOR . |
Deprecated Methods | |
java.awt.Component.action(Event, Object)
As of JDK version 1.1, should register this component as ActionListener on component which fires action events. |
|
java.awt.List.addItem(String, int)
replaced by add(String, int) . |
|
java.awt.List.addItem(String)
replaced by add(String) . |
|
java.awt.CardLayout.addLayoutComponent(String, Component)
replaced by addLayoutComponent(Component, Object) . |
|
java.awt.BorderLayout.addLayoutComponent(String, Component)
replaced by addLayoutComponent(Component, Object) . |
|
java.awt.List.allowsMultipleSelections()
As of JDK version 1.1, replaced by isMultipleMode() . |
|
java.lang.ThreadGroup.allowThreadSuspension(boolean)
The definition of this call depends on ThreadGroup.suspend() ,
which is deprecated. Further, the behavior of this call
was never specified. |
|
java.awt.TextArea.appendText(String)
As of JDK version 1.1, replaced by append(String) . |
|
java.security.AccessController.beginPrivileged()
This method will no longer exist after JDK1.2beta4. Use the doPrivileged method instead. |
|
java.security.AccessController.beginPrivileged(AccessControlContext)
This method will no longer exist after JDK1.2beta4. Use the doPrivileged method instead. |
|
java.awt.Component.bounds()
As of JDK version 1.1, replaced by getBounds() . |
|
java.lang.SecurityManager.classDepth(String)
This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
|
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()
As of JDK version 1.1, replaced by removeAll() . |
|
java.awt.Container.countComponents()
As of JDK version 1.1, replaced by getComponentCount(). |
|
java.awt.Choice.countItems()
As of JDK version 1.1, replaced by getItemCount() . |
|
java.awt.Menu.countItems()
As of JDK version 1.1, replaced by getItemCount() . |
|
java.awt.List.countItems()
As of JDK version 1.1, replaced by getItemCount() . |
|
java.awt.MenuBar.countMenus()
As of JDK version 1.1, replaced by getMenuCount() . |
|
java.lang.Thread.countStackFrames()
The definition of this call depends on Thread.suspend() ,
which is deprecated. Further, the results of this call
were never well-defined. |
|
com.sun.java.swing.JTable.createScrollPaneForTable(JTable)
As of Swing version 1.0.2, replaced by new JScrollPane(aTable) . |
|
java.lang.ClassLoader.defineClass(byte[], int, int)
Replaced by defineClass(java.lang.String, byte[], int, int) |
|
java.awt.List.delItem(int)
replaced by remove(String)
and remove(int) . |
|
java.awt.List.delItems(int, int)
As of JDK version 1.1, Not for public use in the future. This method is expected to be retained only as a package private method. |
|
java.awt.Component.deliverEvent(Event)
As of JDK version 1.1, replaced by dispatchEvent(AWTEvent e) . |
|
java.awt.Container.deliverEvent(Event)
As of JDK version 1.1, replaced by dispatchEvent(AWTEvent e) |
|
java.awt.Component.disable()
As of JDK version 1.1, replaced by setEnabled(boolean) . |
|
java.awt.MenuItem.disable()
As of JDK version 1.1, replaced by setEnabled(boolean) . |
|
java.awt.Component.enable()
As of JDK version 1.1, replaced by setEnabled(boolean) . |
|
java.awt.MenuItem.enable()
As of JDK version 1.1, replaced by setEnabled(boolean) . |
|
java.awt.Component.enable(boolean)
As of JDK version 1.1, replaced by setEnabled(boolean) . |
|
java.awt.MenuItem.enable(boolean)
As of JDK version 1.1, replaced by setEnabled(boolean) . |
|
java.security.AccessController.endPrivileged()
This method will no longer exist after JDK1.2beta4. Use the doPrivileged method instead. |
|
java.security.SignatureSpi.engineGetParameter(String)
|
|
java.security.SignatureSpi.engineSetParameter(String, Object)
Replaced by engineSetParameter. |
|
org.omg.CORBA.ServerRequest.except(Any)
use set_exception() |
|
org.omg.CORBA.ORB.get_current()
use resolve_initial_references. |
|
java.security.Security.getAlgorithmProperty(String, String)
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. Use the new provider-based and algorithm-independent AlgorithmParameters and KeyFactory engine
classes (introduced in JDK 1.2) instead. |
|
java.lang.ClassLoader.getBaseClassLoader()
|
|
java.sql.ResultSet.getBigDecimal(int, int)
|
|
java.sql.CallableStatement.getBigDecimal(int, int)
|
|
java.sql.ResultSet.getBigDecimal(String, int)
|
|
java.awt.Polygon.getBoundingBox()
As of JDK version 1.1, replaced by getBounds() . |
|
java.lang.String.getBytes(int, int, byte[], int)
This method does not properly convert characters into bytes. As of JDK 1.1, the preferred way to do this is via the getBytes(String enc) method, which takes a
character-encoding name, or the getBytes() method, which
uses the platform's default encoding. |
|
java.awt.Graphics.getClipRect()
As of JDK version 1.1, replaced by getClipBounds() . |
|
java.awt.CheckboxGroup.getCurrent()
As of JDK version 1.1, replaced by getSelectedCheckbox() . |
|
java.awt.Frame.getCursorType()
As of JDK version 1.1, replaced by Component.getCursor() . |
|
java.sql.Time.getDate()
|
|
java.util.Date.getDate()
As of JDK version 1.1, replaced by Calendar.get(Calendar.DAY_OF_MONTH) . |
|
java.sql.Time.getDay()
|
|
java.util.Date.getDay()
As of JDK version 1.1, replaced by Calendar.get(Calendar.DAY_OF_WEEK) . |
|
java.lang.System.getenv(String)
The preferred way to extract system-dependent information is the system properties of the java.lang.System.getProperty methods and the
corresponding get TypeName methods of
the Boolean , Integer , and
Long primitive types. For example:
String classPath = System.getProperty("java.class.path","."); |
|
java.awt.Toolkit.getFontList()
see java.awt.GraphicsEnvironment#getFontFamilyNames |
|
java.awt.Toolkit.getFontMetrics(Font)
This returns integer metrics for the default screen. |
|
java.awt.Toolkit.getFontPeer(String, int)
see java.awt.GraphicsEnvironment#getAllFonts |
|
java.sql.Date.getHours()
|
|
java.util.Date.getHours()
As of JDK version 1.1, replaced by Calendar.get(Calendar.HOUR_OF_DAY) . |
|
java.lang.SecurityManager.getInCheck()
This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
|
com.sun.java.swing.KeyStroke.getKeyStroke(char, boolean)
use getKeyStroke(char) |
|
com.sun.java.swing.AbstractButton.getLabel()
- Replaced by getText() |
|
java.awt.Scrollbar.getLineIncrement()
As of JDK version 1.1, replaced by getUnitIncrement() . |
|
java.lang.Runtime.getLocalizedInputStream(InputStream)
As of JDK 1.1, the preferred way translate a byte stream in the local encoding into a character stream in Unicode is via the InputStreamReader and BufferedReader
classes. |
|
java.lang.Runtime.getLocalizedOutputStream(OutputStream)
As of JDK 1.1, the preferred way to translate a Unicode character stream into a byte stream in the local encoding is via the OutputStreamWriter , BufferedWriter , and
PrintWriter classes. |
|
java.sql.DriverManager.getLogStream()
|
|
java.awt.FontMetrics.getMaxDecent()
As of JDK version 1.1.1, replaced by getMaxDescent() . |
|
com.sun.java.swing.JInternalFrame.getMenuBar()
As of Swing version 1.0.3, replaced by getJMenuBar() . |
|
com.sun.java.swing.JRootPane.getMenuBar()
As of Swing version 1.0.3 replaced by getJMenubar() . |
|
java.sql.Date.getMinutes()
|
|
java.util.Date.getMinutes()
As of JDK version 1.1, replaced by Calendar.get(Calendar.MINUTE) . |
|
java.sql.Time.getMonth()
|
|
java.util.Date.getMonth()
As of JDK version 1.1, replaced by Calendar.get(Calendar.MONTH) . |
|
java.awt.Scrollbar.getPageIncrement()
As of JDK version 1.1, replaced by getBlockIncrement() . |
|
java.security.Signature.getParameter(String)
|
|
java.awt.Component.getPeer()
As of JDK version 1.1, programs should not directly manipulate peers. replaced by boolean isDisplayable() . |
|
java.awt.Font.getPeer()
Font rendering is now platform independent. |
|
java.awt.MenuComponent.getPeer()
As of JDK version 1.1, programs should not directly manipulate peers. |
|
java.sql.Date.getSeconds()
|
|
java.util.Date.getSeconds()
As of JDK version 1.1, replaced by Calendar.get(Calendar.SECOND) . |
|
java.rmi.server.RMIClassLoader.getSecurityContext(ClassLoader)
|
|
com.sun.java.swing.JPasswordField.getText()
As of JDK version 1.2, replaced by getPassword() . |
|
com.sun.java.swing.JPasswordField.getText(int, int)
As of JDK version 1.2, replaced by getPassword() . |
|
java.util.Date.getTimezoneOffset()
As of JDK version 1.1, replaced by Calendar.get(Calendar.ZONE_OFFSET) +
Calendar.get(Calendar.DST_OFFSET) . |
|
java.net.MulticastSocket.getTTL()
use the getTimeToLive method instead, which allows you to get time-to-live values from 0 (excluded) to 255 (included). |
|
java.net.DatagramSocketImpl.getTTL()
use getTimeToLive instead. |
|
java.sql.ResultSet.getUnicodeStream(int)
|
|
java.sql.ResultSet.getUnicodeStream(String)
|
|
com.sun.java.swing.ScrollPaneLayout.getViewportBorderBounds(JScrollPane)
As of JDK version Swing1.1 replaced by JScrollPane.getViewportBorderBounds() . |
|
java.awt.Scrollbar.getVisible()
As of JDK version 1.1, replaced by getVisibleAmount() . |
|
java.sql.Time.getYear()
|
|
java.util.Date.getYear()
As of JDK version 1.1, replaced by Calendar.get(Calendar.YEAR) - 1900 . |
|
java.awt.Component.gotFocus(Event, Object)
As of JDK version 1.1, replaced by processFocusEvent(FocusEvent). |
|
java.awt.Component.handleEvent(Event)
As of JDK version 1.1 replaced by processEvent(AWTEvent). |
|
java.awt.Component.hide()
As of JDK version 1.1, replaced by setVisible(boolean) . |
|
java.lang.SecurityManager.inClass(String)
This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
|
java.lang.SecurityManager.inClassLoader()
This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
|
java.awt.TextArea.insertText(String, int)
As of JDK version 1.1, replaced by insert(String, int) . |
|
java.awt.Container.insets()
As of JDK version 1.1, replaced by getInsets() . |
|
java.awt.Component.inside(int, int)
As of JDK version 1.1, replaced by contains(int, int). |
|
java.awt.Polygon.inside(int, int)
As of JDK version 1.1, replaced by contains(int, int) . |
|
java.awt.Rectangle.inside(int, int)
As of JDK version 1.1, replaced by contains(int, int) . |
|
java.lang.Character.isJavaLetter(char)
Replaced by isJavaIdentifierStart(char). |
|
java.lang.Character.isJavaLetterOrDigit(char)
Replaced by isJavaIdentifierPart(char). |
|
java.awt.List.isSelected(int)
As of JDK version 1.1, replaced by isIndexSelected(int) . |
|
java.lang.Character.isSpace(char)
Replaced by isWhitespace(char). |
|
java.awt.Component.keyDown(Event, int)
As of JDK version 1.1, replaced by processKeyEvent(KeyEvent). |
|
java.awt.Component.keyUp(Event, int)
As of JDK version 1.1, replaced by processKeyEvent(KeyEvent). |
|
java.awt.Component.layout()
As of JDK version 1.1, replaced by doLayout() . |
|
java.awt.Container.layout()
As of JDK version 1.1, replaced by doLayout() . |
|
java.awt.ScrollPane.layout()
As of JDK version 1.1, replaced by doLayout() . |
|
java.rmi.server.RMIClassLoader.loadClass(String)
|
|
java.awt.Component.locate(int, int)
As of JDK version 1.1, replaced by getComponentAt(int, int). |
|
java.awt.Container.locate(int, int)
As of JDK version 1.1, replaced by getComponentAt(int, int) . |
|
java.awt.Component.location()
As of JDK version 1.1, replaced by getLocation() . |
|
java.awt.Component.lostFocus(Event, Object)
As of JDK version 1.1, replaced by processFocusEvent(FocusEvent). |
|
java.awt.Component.minimumSize()
As of JDK version 1.1, replaced by getMinimumSize() . |
|
java.awt.Container.minimumSize()
As of JDK version 1.1, replaced by getMinimumSize() . |
|
java.awt.TextField.minimumSize()
As of JDK version 1.1, replaced by getMinimumSize() . |
|
java.awt.TextArea.minimumSize()
As of JDK version 1.1, replaced by getMinimumSize() . |
|
java.awt.List.minimumSize()
As of JDK version 1.1, replaced by getMinimumSize() . |
|
java.awt.TextArea.minimumSize(int, int)
As of JDK version 1.1, replaced by getMinimumSize(int, int) . |
|
java.awt.TextField.minimumSize(int)
As of JDK version 1.1, replaced by getMinimumSize(int) . |
|
java.awt.List.minimumSize(int)
As of JDK version 1.1, replaced by getMinimumSize(int) . |
|
com.sun.java.swing.text.View.modelToView(int, Shape)
|
|
java.awt.Component.mouseDown(Event, int, int)
As of JDK version 1.1, replaced by processMouseEvent(MouseEvent). |
|
java.awt.Component.mouseDrag(Event, int, int)
As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent). |
|
java.awt.Component.mouseEnter(Event, int, int)
As of JDK version 1.1, replaced by processMouseEvent(MouseEvent). |
|
java.awt.Component.mouseExit(Event, int, int)
As of JDK version 1.1, replaced by processMouseEvent(MouseEvent). |
|
java.awt.Component.mouseMove(Event, int, int)
As of JDK version 1.1, replaced by processMouseMotionEvent(MouseEvent). |
|
java.awt.Component.mouseUp(Event, int, int)
As of JDK version 1.1, replaced by processMouseEvent(MouseEvent). |
|
java.awt.Component.move(int, int)
As of JDK version 1.1, replaced by setLocation(int, int) . |
|
java.awt.Rectangle.move(int, int)
As of JDK version 1.1, replaced by setLocation(int, int) . |
|
java.awt.Component.nextFocus()
As of JDK version 1.1, replaced by transferFocus(). |
|
org.omg.CORBA.ServerRequest.op_name()
use operation() |
|
org.omg.CORBA.ServerRequest.params(NVList)
arguments() provides the same functionality as params() |
|
java.util.Date.parse(String)
As of JDK version 1.1, replaced by DateFormat.parse(String s) . |
|
java.awt.Component.postEvent(Event)
As of JDK version 1.1, replaced by dispatchEvent(AWTEvent). |
|
java.awt.Window.postEvent(Event)
As of JDK version 1.1 replaced by dispatchEvent(AWTEvent) . |
|
java.awt.MenuComponent.postEvent(Event)
As of JDK version 1.1, replaced by dispatchEvent(AWTEvent) . |
|
java.awt.MenuContainer.postEvent(Event)
As of JDK version 1.1 replaced by dispatchEvent(AWTEvent). |
|
java.awt.Component.preferredSize()
As of JDK version 1.1, replaced by getPreferredSize() . |
|
java.awt.Container.preferredSize()
As of JDK version 1.1, replaced by getPreferredSize() . |
|
java.awt.TextField.preferredSize()
As of JDK version 1.1, replaced by getPreferredSize() . |
|
java.awt.TextArea.preferredSize()
As of JDK version 1.1, replaced by getPreferredSize() . |
|
java.awt.List.preferredSize()
As of JDK version 1.1, replaced by getPreferredSize() . |
|
java.awt.TextArea.preferredSize(int, int)
As of JDK version 1.1, replaced by getPreferredSize(int, int) . |
|
java.awt.TextField.preferredSize(int)
As of JDK version 1.1, replaced by getPreferredSize(int) . |
|
java.awt.List.preferredSize(int)
As of JDK version 1.1, replaced by getPreferredSize(int) . |
|
java.io.DataInputStream.readLine()
This method does not properly convert bytes to characters. As of JDK 1.1, the preferred way to read lines of text is via the BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:DataInputStream d = new DataInputStream(in); BufferedReader d = new BufferedReader(new InputStreamReader(in)); |
|
java.io.ObjectInputStream.readLine()
This method does not properly convert bytes to characters. see DataInputStream for the details and alternatives. |
|
java.rmi.registry.RegistryHandler.registryImpl(int)
As of JDK 1.2, RMI no longer uses the RegistryHandler to obtain the registry's implementation. |
|
java.rmi.registry.RegistryHandler.registryStub(String, int)
As of JDK 1.2, RMI no longer uses the RegistryHandler to obtain the registry's stub. |
|
java.awt.TextArea.replaceText(String, int, int)
As of JDK version 1.1, replaced by replaceRange(String, int, int) . |
|
java.awt.Component.reshape(int, int, int, int)
As of JDK version 1.1, replaced by setBounds(int, int, int, int) . |
|
java.awt.Rectangle.reshape(int, int, int, int)
As of JDK version 1.1, replaced by setBounds(int, int, int, int) . |
|
java.awt.Component.resize(Dimension)
As of JDK version 1.1, replaced by setSize(Dimension) . |
|
java.awt.Component.resize(int, int)
As of JDK version 1.1, replaced by setSize(int, int) . |
|
java.awt.Rectangle.resize(int, int)
As of JDK version 1.1, replaced by setSize(int, int) . |
|
org.omg.CORBA.ServerRequest.result(Any)
use set_result() |
|
java.lang.Thread.resume()
|
|
java.lang.ThreadGroup.resume()
|
|
java.lang.System.runFinalizersOnExit(boolean)
This method is inherently unsafe. It may result in finalizers being called on live objects while other threads are concurrently manipulating those objects, resulting in erratic behavior or deadlock. |
|
java.util.Properties.save(OutputStream, String)
This method does not throw an IOException if an I/O error occurs while saving the property list. As of JDK 1.2, the preferred way to save a properties list is via the store(OutputStream out,
String header) method. |
|
java.awt.CheckboxGroup.setCurrent(Checkbox)
As of JDK version 1.1, replaced by setSelectedCheckbox(Checkbox) . |
|
java.awt.Frame.setCursor(int)
As of JDK version 1.1, replaced by Component.setCursor(Cursor) . |
|
java.sql.Time.setDate(int)
|
|
java.util.Date.setDate(int)
As of JDK version 1.1, replaced by Calendar.set(Calendar.DAY_OF_MONTH, int date) . |
|
java.awt.TextField.setEchoCharacter(char)
As of JDK version 1.1, replaced by setEchoChar(char) . |
|
java.sql.Date.setHours(int)
|
|
java.util.Date.setHours(int)
As of JDK version 1.1, replaced by Calendar.set(Calendar.HOUR_OF_DAY, int hours) . |
|
com.sun.java.swing.AbstractButton.setLabel(String)
- Replaced by setText(text) |
|
com.sun.java.swing.ToolTipManager.setLightWeightPopupEnabled(boolean)
As of Swing1.1 replaced by setToolTipWindowUsePolicy(int) . |
|
java.awt.Scrollbar.setLineIncrement(int)
As of JDK version 1.1, replaced by setUnitIncrement(int) . |
|
java.sql.DriverManager.setLogStream(PrintStream)
|
|
com.sun.java.swing.JInternalFrame.setMenuBar(JMenuBar)
As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar m) . |
|
com.sun.java.swing.JRootPane.setMenuBar(JMenuBar)
As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar menu) . |
|
java.sql.Date.setMinutes(int)
|
|
java.util.Date.setMinutes(int)
As of JDK version 1.1, replaced by Calendar.set(Calendar.MINUTE, int minutes) . |
|
java.sql.Time.setMonth(int)
|
|
java.util.Date.setMonth(int)
As of JDK version 1.1, replaced by Calendar.set(Calendar.MONTH, int month) . |
|
java.awt.List.setMultipleSelections(boolean)
As of JDK version 1.1, replaced by setMultipleMode(boolean) . |
|
java.awt.Scrollbar.setPageIncrement(int)
As of JDK version 1.1, replaced by setBlockIncrement() . |
|
java.security.Signature.setParameter(String, Object)
Use setParameter. |
|
java.sql.Date.setSeconds(int)
|
|
java.util.Date.setSeconds(int)
As of JDK version 1.1, replaced by Calendar.set(Calendar.SECOND, int seconds) . |
|
java.net.MulticastSocket.setTTL(byte)
use the setTimeToLive method instead, which allows you to set time-to-live values from 0 (excluded) to 255 (included). |
|
java.net.DatagramSocketImpl.setTTL(byte)
use setTimeToLive instead. |
|
java.sql.PreparedStatement.setUnicodeStream(int, InputStream, int)
|
|
java.sql.Time.setYear(int)
|
|
java.util.Date.setYear(int)
As of JDK version 1.1, replaced by Calendar.set(Calendar.YEAR, year + 1900) . |
|
java.awt.Component.show()
As of JDK version 1.1, replaced by setVisible(boolean) . |
|
java.awt.Component.show(boolean)
As of JDK version 1.1, replaced by setVisible(boolean) . |
|
java.awt.Component.size()
As of JDK version 1.1, replaced by getSize() . |
|
com.sun.java.swing.JTable.sizeColumnsToFit(boolean)
As of Swing version 1.0.3, replaced by sizeColumnsToFit(int) . |
|
java.lang.Thread.stop()
|
|
java.lang.ThreadGroup.stop()
|
|
java.lang.Thread.stop(Throwable)
|
|
java.lang.Thread.suspend()
|
|
java.lang.ThreadGroup.suspend()
|
|
java.util.Date.toGMTString()
As of JDK version 1.1, replaced by DateFormat.format(Date date) , using a
GMT TimeZone . |
|
java.util.Date.toLocaleString()
As of JDK version 1.1, replaced by DateFormat.format(Date date) . |
|
java.io.ByteArrayOutputStream.toString(int)
This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the toString(String enc) method, which takes an encoding-name
argument, or the toString() method, which uses the
platform's default character encoding. |
|
java.util.Date.UTC(int, int, int, int, int, int)
As of JDK version 1.1, replaced by Calendar.set(year + 1900, month, date,
hrs, min, sec) or GregorianCalendar(year + 1900,
month, date, hrs, min, sec) , using a UTC
TimeZone , followed by Calendar.getTime().getTime() . |
|
com.sun.java.swing.text.View.viewToModel(float, float, Shape)
|
Deprecated Constructors | |
java.util.Date(int, int, int, int, int, int)
As of JDK version 1.1, replaced by Calendar.set(year + 1900, month, date,
hrs, min, sec) or GregorianCalendar(year + 1900,
month, date, hrs, min, sec) . |
|
java.util.Date(int, int, int, int, int)
As of JDK version 1.1, replaced by Calendar.set(year + 1900, month, date,
hrs, min) or GregorianCalendar(year + 1900,
month, date, hrs, min) . |
|
java.sql.Date(int, int, int)
|
|
java.util.Date(int, int, int)
As of JDK version 1.1, replaced by Calendar.set(year + 1900, month, date)
or GregorianCalendar(year + 1900, month, date) . |
|
java.util.Date(String)
As of JDK version 1.1, replaced by DateFormat.parse(String s) . |
|
java.net.Socket(InetAddress, int, boolean)
Use DatagramSocket instead for UDP transport. |
|
java.net.Socket(String, int, boolean)
Use DatagramSocket instead for UDP transport. |
|
java.io.StreamTokenizer(InputStream)
As of JDK version 1.1, the preferred way to tokenize an input stream is to convert it into a character stream, for example: Reader r = new BufferedReader(new InputStreamReader(is)); StreamTokenizer st = new StreamTokenizer(r); |
|
java.lang.String(byte[], int, int, int)
This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the String constructors that take a character-encoding name or
that use the platform's default encoding. |
|
java.lang.String(byte[], int)
This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the String constructors that take a character-encoding name or
that use the platform's default encoding. |
|
java.sql.Timestamp(int, int, int, int, int, int, int)
|
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |