JDK Contents

# JDK 1.1 Deprecated API

The following is the list of deprecated API in the java.* package of JDK 1.1. Constructors, methods and fields inside the deprecated classes are not explicitly listed here. You will find more detail for AWT deprecations at Table of AWT 1.1 Deprecated Methods. For a description of what deprecation is, see Deprecation of APIs, or see Deprecated Methods in the 1.1 AWT - Overview.

(Program used to generate list: /home/dkramer/bin/deprecated.sh)

### Deprecated Classes

java.io.LineNumberInputStream:
  LineNumberInputStream is deprecated.
java.io.StringBufferInputStream:
  StringBufferInputStream is deprecated.

### Deprecated Methods

java.awt.BorderLayout:
  addLayoutComponent() is deprecated.
java.awt.CardLayout:
  addLayoutComponent() is deprecated.
java.awt.CheckboxGroup:
  getCurrent() is deprecated.
java.awt.CheckboxGroup:
  setCurrent() is deprecated.
java.awt.Choice:
  countItems() is deprecated.
java.awt.Component:
  getPeer() is deprecated.
java.awt.Component:
  enable() is deprecated.
java.awt.Component:
  enable() is deprecated.
java.awt.Component:
  disable() is deprecated.
java.awt.Component:
  show() is deprecated.
java.awt.Component:
  show() is deprecated.
java.awt.Component:
  hide() is deprecated.
java.awt.Component:
  location() is deprecated.
java.awt.Component:
  move() is deprecated.
java.awt.Component:
  size() is deprecated.
java.awt.Component:
  resize() is deprecated.
java.awt.Component:
  resize() is deprecated.
java.awt.Component:
  bounds() is deprecated.
java.awt.Component:
  reshape() is deprecated.
java.awt.Component:
  preferredSize() is deprecated.
java.awt.Component:
  minimumSize() is deprecated.
java.awt.Component:
  layout() is deprecated.
java.awt.Component:
  inside() is deprecated.
java.awt.Component:
  locate() is deprecated.
java.awt.Component:
  deliverEvent() is deprecated.
java.awt.Component:
  postEvent() is deprecated.
java.awt.Component:
  handleEvent() is deprecated.
java.awt.Component:
  mouseDown() is deprecated.
java.awt.Component:
  mouseDrag() is deprecated.
java.awt.Component:
  mouseUp() is deprecated.
java.awt.Component:
  mouseMove() is deprecated.
java.awt.Component:
  mouseEnter() is deprecated.
java.awt.Component:
  mouseExit() is deprecated.
java.awt.Component:
  keyDown() is deprecated.
java.awt.Component:
  keyUp() is deprecated.
java.awt.Component:
  action() is deprecated.
java.awt.Component:
  gotFocus() is deprecated.
java.awt.Component:
  lostFocus() is deprecated.
java.awt.Component:
  nextFocus() is deprecated.
java.awt.Container:
  countComponents() is deprecated.
java.awt.Container:
  insets() is deprecated.
java.awt.Container:
  layout() is deprecated.
java.awt.Container:
  preferredSize() is deprecated.
java.awt.Container:
  minimumSize() is deprecated.
java.awt.Container:
  deliverEvent() is deprecated.
java.awt.Container:
  locate() is deprecated.
java.awt.FontMetrics:
  getMaxDecent() is deprecated.
java.awt.Frame:
  setCursor() is deprecated.
java.awt.Frame:
  getCursorType() is deprecated.
java.awt.Graphics:
  getClipRect() is deprecated.
java.awt.List:
  countItems() is deprecated.
java.awt.List:
  clear() is deprecated.
java.awt.List:
  isSelected() is deprecated.
java.awt.List:
  allowsMultipleSelections() is deprecated.
java.awt.List:
  setMultipleSelections() is deprecated.
java.awt.List:
  preferredSize() is deprecated.
java.awt.List:
  preferredSize() is deprecated.
java.awt.List:
  minimumSize() is deprecated.
java.awt.List:
  minimumSize() is deprecated.
java.awt.List:
  delItems() is deprecated.
java.awt.Menu:
  countItems() is deprecated.
java.awt.MenuBar:
  countMenus() is deprecated.
java.awt.MenuComponent:
  getPeer() is deprecated.
java.awt.MenuComponent:
  postEvent() is deprecated.
java.awt.MenuContainer:
  postEvent() is deprecated.
java.awt.MenuItem:
  enable() is deprecated.
java.awt.MenuItem:
  enable() is deprecated.
java.awt.MenuItem:
  disable() is deprecated.
java.awt.Polygon:
  getBoundingBox() is deprecated.
java.awt.Polygon:
  inside() is deprecated.
java.awt.Rectangle:
  reshape() is deprecated.
java.awt.Rectangle:
  move() is deprecated.
java.awt.Rectangle:
  resize() is deprecated.
java.awt.Rectangle:
  inside() is deprecated.
java.awt.ScrollPane:
  layout() is deprecated.
java.awt.Scrollbar:
  getVisible() is deprecated.
java.awt.Scrollbar:
  setLineIncrement() is deprecated.
java.awt.Scrollbar:
  getLineIncrement() is deprecated.
java.awt.Scrollbar:
  setPageIncrement() is deprecated.
java.awt.Scrollbar:
  getPageIncrement() is deprecated.
java.awt.TextArea:
  insertText() is deprecated.
java.awt.TextArea:
  appendText() is deprecated.
java.awt.TextArea:
  replaceText() is deprecated.
java.awt.TextArea:
  preferredSize() is deprecated.
java.awt.TextArea:
  preferredSize() is deprecated.
java.awt.TextArea:
  minimumSize() is deprecated.
java.awt.TextArea:
  minimumSize() is deprecated.
java.awt.TextField:
  setEchoCharacter() is deprecated.
java.awt.TextField:
  preferredSize() is deprecated.
java.awt.TextField:
  preferredSize() is deprecated.
java.awt.TextField:
  minimumSize() is deprecated.
java.awt.TextField:
  minimumSize() is deprecated.
java.awt.Window:
  postEvent() is deprecated.
java.io.ByteArrayOutputStream:
  toString() is deprecated.
java.io.DataInputStream:
  readLine() is deprecated.
java.io.PrintStream:
  PrintStream() is deprecated.
java.io.PrintStream:
  PrintStream() is deprecated.
java.io.StreamTokenizer:
  StreamTokenizer() is deprecated.
java.lang.Character:
  isJavaLetter() is deprecated.
java.lang.Character:
  isJavaLetterOrDigit() is deprecated.
java.lang.Character:
  isSpace() is deprecated.
java.lang.ClassLoader:
  defineClass() is deprecated.
java.lang.Runtime:
  getLocalizedInputStream() is deprecated.
java.lang.Runtime:
  getLocalizedOutputStream() is deprecated.
java.lang.String:
  String() is deprecated.
java.lang.String:
  String() is deprecated.
java.lang.String:
  getBytes() is deprecated.
java.lang.System:
  getenv() is deprecated.
java.net.Socket:
  Socket() is deprecated.
java.net.Socket:
  Socket() is deprecated.
java.util.Date:
  Date() is deprecated.
java.util.Date:
  Date() is deprecated.
java.util.Date:
  Date() is deprecated.
java.util.Date:
  Date() is deprecated.
java.util.Date:
  UTC() is deprecated.
java.util.Date:
  parse() is deprecated.
java.util.Date:
  getYear() is deprecated.
java.util.Date:
  setYear() is deprecated.
java.util.Date:
  getMonth() is deprecated.
java.util.Date:
  setMonth() is deprecated.
java.util.Date:
  getDate() is deprecated.
java.util.Date:
  setDate() is deprecated.
java.util.Date:
  getDay() is deprecated.
java.util.Date:
  getHours() is deprecated.
java.util.Date:
  setHours() is deprecated.
java.util.Date:
  getMinutes() is deprecated.
java.util.Date:
  setMinutes() is deprecated.
java.util.Date:
  getSeconds() is deprecated.
java.util.Date:
  setSeconds() is deprecated.
java.util.Date:
  toLocaleString() is deprecated.
java.util.Date:
  toGMTString() is deprecated.
java.util.Date:
  getTimezoneOffset() is deprecated.

Copyright © 1996, 1997 Sun Microsystems, Inc., 2550 Garcia Ave., Mtn. View, CA 94043-1100 USA. All rights reserved.