Attributes
interface, which includes Namespace support.java.security.cert insteadContentHandler
interface, which includes Namespace support.AttributeList;
that interface has been replaced by
Attributes,
which is implemented in the
AttributesImpl helper class.BasicTextUI insteadDocumentHandler
interface. java.security.KeyStore, the
java.security.cert package, and
java.security.Principal.LineNumberReader because it operates on ASCII bytes
instead of an encoded character stream. Parser
interface.java.security.KeyStore, the
java.security.cert package, and java.security.Principal.View
implementation.SecurityException insteadFormView.submitButtonText.FormView.resetButtonText.Cursor.DEFAULT_CURSOR instead.Cursor.CROSSHAIR_CURSOR instead.Cursor.TEXT_CURSOR instead.Cursor.WAIT_CURSOR.Cursor.SW_RESIZE_CURSOR instead.Cursor.SE_RESIZE_CURSOR instead.Cursor.NW_RESIZE_CURSOR instead.Cursor.NE_RESIZE_CURSOR instead.Cursor.N_RESIZE_CURSOR instead.Cursor.S_RESIZE_CURSOR instead.Cursor.E_RESIZE_CURSOR instead.Cursor.W_RESIZE_CURSOR instead.Cursor.HAND_CURSOR instead.Cursor.MOVE_CURSOR instead.ALLOWED_CLASSNAMES_LIST instead.setText(text)getText()addLayoutComponent(Component, Object).addLayoutComponent(Component, Object).isWhitespace(char) getSelectedCheckbox().setSelectedCheckbox().getItemCount.isDisplayable() insteadsetEnabled(boolean) insteadsetEnabled(boolean) insteadsetVisible(boolean) insteadsetVisible(boolean) insteadsetVisible(boolean) insteadgetLocation() insteadsetLocation(int,int) insteadgetSize() insteadsetSize(int,int) insteadgetBounds() insteadgetPreferredSize() insteadgetMinimumSize() insteaddoLayout() insteadcontains(int,int) instead(AWTEvent) insteadprocessActionEvent(ActionEvent) insteadisFocusable() instead() insteadgetInsets() insteaddoLayout() insteadgetPreferredSize() insteadgetMinimumSize() insteadhashCode().
Calendar with a UTC
TimeZone instead.Calendar.get(Calendar.ZONE_OFFSET)+Calendar.get(Calendar.DST_OFFSET)
instead.Component.setVisible(boolean) instead.Component.setVisible(boolean) instead.setLogWriter instead.getLogWriter() instead.getMaxDescent().Component.getCursor() instead.Component.setCursor(Cursor) instead.getClipBounds().Component.setFocusTraversalKeys(int, Set) and
Container.setFocusCycleRoot(boolean) insteadrequestFocus() on the default component provided
from the FocusTraversalPolicy instead.setEnabled(boolean) setEnabled(boolean) setJMenuBar()getJMenuBar()new JScrollPane(JTable)doLayout()getKeyStroke(char)
This method, unlike all the other factory methods on this object,
returns a non-cached, non-shared object. getItemCount()isMultipleMode().getMinimumSize.getMinimumSize(int)>getPreferredSize.getPreferredSize(int)>removeAll().isIndexSelected(int).getClassLoaderFor(ObjectName) should be used
to obtain the class loader of the bean, which can then
be used to perform deserialization in the user's code.getClassLoaderRepository() should be used
to obtain the class loading repository, which can then
be used to obtain the Class instance and deserialize
the array using its class loader.getClassLoader(ObjectName can be used to obtain
the named class loader and deserialize the array.getMenuCount().dispatchEvent().setEnabled().setEnabled().setEnabled().setTimeToLiveresolve_initial_references(String).getBounds() insteadcontains(int,int) insteadsetLocation(int,int) insteadsetSize(int,int) insteadcontains(int,int) insteadinvoke(Remote,Method,Object[],long) instead.InputStreamReader is the preferred way to read
local encodingsOutputStreamWriter is the preferred way to write
local encodingsgetVisibleAmount().getUnitIncrement().setUnitIncrement().getBlockIncrement().setBlockIncrement().doLayout().JScrollPane.getViewportBorderBounds().AlgorithmParameters and KeyFactory engine
classes instead.getBytes(), which uses a char to byte encoderKeyboardFocusManager.getFocusOwner().View implementation.View implementation.View implementation.View implementation.View implementation.View implementation.getMinimumSize ().getMinimumSize (int, int).getPreferredSize ().getPreferredSize (int, int).append ().insert ().replaceRange ().setEchoChar()getMinimumSize().getMinimumSize(int).getPreferredSize().getPreferredSize(int).ValueExp
can access the server using
QueryEval.getMBeanServer().viewToModel(float,float,Shape,Position.Bias[])
instead.new GregorianCalendar(year+1900, month,
day) instead.new GregorianCalendar(year+1900, month,
day, hour, min) instead.new GregorianCalendar(year+1900, month,
day, hour, min, sec) instead.java.text.DateFormat.parse(s) instead.DatagramSocket class to create
datagram oriented sockets.DatagramSocket class to create
datagram oriented sockets.String(byte[],int,int,String) to perform
correct encodingString(byte[],String) to perform
correct encodingView implementation.from_int(int) that
reuses existing TCKind object instead of allocating the new instance.