swingx
  1. swingx
  2. SWINGX-1535

JXTable: hack around core issue in GenericEditor

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.5
    • Component/s: Table
    • Labels:
      None

      Description

      reported f.i. in

      http://stackoverflow.com/q/13524519/203657

      the mis-behaviour is that the default GenericEditor (the one in JXTable is merely c&p'ed from core) fires two editingStopped if

      • the edited value is empty
      • the newly instantiated object can't handle the empty string

      as the first event makes the table remove the editor the following throws an NPE:

      if (table.isEditing()&& !table.getCellEditor().stopCellEditing() {
           table.getCellEditor().cancelCellEditing();
      }
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            kleopatra
            Reporter:
            kleopatra
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: