PDAP Public Review Draft

Deprecated API

Deprecated Fields
java.awt.Frame.CROSSHAIR_CURSOR
          replaced by Cursor.CROSSHAIR_CURSOR.

Value Cursor.CROSSHAIR_CURSOR is assigned to CROSSHAIR_CURSOR. 

java.awt.Frame.DEFAULT_CURSOR
          replaced by Cursor.DEFAULT_CURSOR.

Value Cursor.DEFAULT_CURSOR is assigned to DEFAULT_CURSOR. 

java.awt.Frame.E_RESIZE_CURSOR
          replaced by Cursor.E_RESIZE_CURSOR.

Value Cursor.E_RESIZE_CURSOR is assigned to E_RESIZE_CURSOR. 

java.awt.Frame.HAND_CURSOR
          replaced by Cursor.HAND_CURSOR.

Value Cursor.HAND_CURSOR is assigned to HAND_CURSOR. 

java.awt.Frame.MOVE_CURSOR
          replaced by Cursor.MOVE_CURSOR.

Value Cursor.MOVE_CURSOR is assigned to MOVE_CURSOR. 

java.awt.Frame.N_RESIZE_CURSOR
          replaced by Cursor.N_RESIZE_CURSOR.

Value Cursor.N_RESIZE_CURSOR is assigned to N_RESIZE_CURSOR. 

java.awt.Frame.NE_RESIZE_CURSOR
          replaced by Cursor.NE_RESIZE_CURSOR.

Value Cursor.NE_RESIZE_CURSOR is assigned to NE_RESIZE_CURSOR. 

java.awt.Frame.NW_RESIZE_CURSOR
          replaced by Cursor.NW_RESIZE_CURSOR.

Value Cursor.NW_RESIZE_CURSOR is assigned to NW_RESIZE_CURSOR. 

java.awt.Frame.S_RESIZE_CURSOR
          replaced by Cursor.S_RESIZE_CURSOR.

Value Cursor.S_RESIZE_CURSOR is assigned to S_RESIZE_CURSOR. 

java.awt.Frame.SE_RESIZE_CURSOR
          replaced by Cursor.SE_RESIZE_CURSOR.

Value Cursor.SE_RESIZE_CURSOR is assigned to SE_RESIZE_CURSOR. 

java.awt.Frame.SW_RESIZE_CURSOR
          replaced by Cursor.SW_RESIZE_CURSOR.

Value Cursor.SW_RESIZE_CURSOR is assigned to SW_RESIZE_CURSOR. 

java.awt.Frame.TEXT_CURSOR
          replaced by Cursor.TEXT_CURSOR.

Value Cursor.TEXT_CURSOR is assigned to TEXT_CURSOR. 

java.awt.Frame.W_RESIZE_CURSOR
          replaced by Cursor.W_RESIZE_CURSOR.

Value Cursor.W_RESIZE_CURSOR is assigned to W_RESIZE_CURSOR. 

java.awt.Frame.WAIT_CURSOR
          replaced by Cursor.WAIT_CURSOR.

Value Cursor.WAIT_CURSOR is assigned to 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)
          replaced by add(String). 
java.awt.List.addItem(String, int)
          replaced by add(String, int). 
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.awt.TextArea.appendText(String)
          As of JDK version 1.1, replaced by append(String). 
java.awt.Component.bounds()
          As of JDK version 1.1, replaced by getBounds(). 
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.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.Choice.countItems()
          As of JDK version 1.1, replaced by getItemCount(). 
java.awt.MenuBar.countMenus()
          As of JDK version 1.1, replaced by getMenuCount(). 
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.awt.Polygon.getBoundingBox()
          As of JDK version 1.1, replaced by getBounds(). 
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.awt.Toolkit.getFontList()
          see GraphicsEnvironment.getAvailableFontFamilyNames() 
java.awt.Toolkit.getFontMetrics(Font)
          This returns integer metrics for the default screen. 
java.awt.Scrollbar.getLineIncrement()
          As of JDK version 1.1, replaced by getUnitIncrement(). 
java.awt.FontMetrics.getMaxDecent()
          As of JDK version 1.1.1, replaced by getMaxDescent(). 
java.awt.Scrollbar.getPageIncrement()
          As of JDK version 1.1, replaced by getBlockIncrement(). 
java.awt.Scrollbar.getVisible()
          As of JDK version 1.1, replaced by getVisibleAmount(). 
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.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.awt.List.isSelected(int)
          As of JDK version 1.1, replaced by isIndexSelected(int). 
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.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.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.TextField.minimumSize()
          As of JDK version 1.1, replaced by getMinimumSize(). 
java.awt.List.minimumSize(int)
          As of JDK version 1.1, replaced by getMinimumSize(int). 
java.awt.TextField.minimumSize(int)
          As of JDK version 1.1, replaced by getMinimumSize(int). 
java.awt.TextArea.minimumSize(int, int)
          As of JDK version 1.1, replaced by getMinimumSize(int, int). 
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(). 
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.MenuContainer.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.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.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.TextField.preferredSize()
          As of JDK version 1.1, replaced by getPreferredSize(). 
java.awt.List.preferredSize(int)
          As of JDK version 1.1, replaced by getPreferredSize(int). 
java.awt.TextField.preferredSize(int)
          As of JDK version 1.1, replaced by getPreferredSize(int). 
java.awt.TextArea.preferredSize(int, int)
          As of JDK version 1.1, replaced by getPreferredSize(int, int). 
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). 
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.awt.TextField.setEchoCharacter(char)
          As of JDK version 1.1, replaced by setEchoChar(char). 
java.awt.Scrollbar.setLineIncrement(int)
          As of JDK version 1.1, replaced by setUnitIncrement(int). 
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.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(). 
 


PDAP 1.0 Spec, Rev. 0.16