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

JTable.getEditorComponent() returns a null javadocs say nothing about this.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.3
    • CPU:
      sparc
    • OS:
      solaris_2.6
    • Verification:
      Verified

      Description

      I believe this is a doc bug.
      If my receiver is not currently editing then a null component is returned.

      If we set table.editCellAt(1,1); then we return correct component.

      javadocs:
      getEditorComponent
      public Component getEditorComponent()
            If the receiver is currently editing this will return the Component that was returned from the CellEditor.
            Returns:
                  Component handling editing session

        Attachments

          Activity

            People

            Assignee:
            sharonz Sharon Zakhour (Inactive)
            Reporter:
            collins Gary Collins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: