Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4408000

"Cut & Paste" error in API spec of JButton

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • docs
    • beta
    • generic
    • generic



      Name: rmT116609 Date: 01/24/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
      Java HotSpot(TM) Client VM (build 1.3.0, interpreted mode)


      The documentation for javax.swing.JButton contains a little bug in the method setDefaultCapable().

      http://java.sun.com/j2se/1.3/docs/api/javax/swing/JButton.html#setDefaultCapable(boolean)

      The signature is *void* setDefaultCapable(boolean), but the doc says
       'Returns:"boolean"'.

      This seems to be just pasted from "isDefaultCapable()" ;-)
      (Review ID: 115749)
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: