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

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

XMLWordPrintable

    • 1.3
    • sparc
    • solaris_2.6
    • Verified

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: