Committing (rather than cancelling) cell changes on focus loss

Jonathan Giles jonathan.giles at oracle.com
Mon Jan 25 22:19:07 UTC 2016


Hi all,

I've been aware for a very long time that many people would love to see 
the default behavior for the ListView / TreeView / TableView / 
TreeTableView controls change from being 'cancel edit on focus lost' to 
'commit edit on focus lost' when users are editing the value of a cell.

I believe the main JBS issue is this one: 
https://bugs.openjdk.java.net/browse/JDK-8089514

I've developed a proposal on how this can be changed without breaking 
any APIs. Additionally, the semantics don't change by default - all 
current users won't be impacted, only those that opt-in by overriding a 
new protected method. I've posted a brief summary of the proposed 
changes as a comment in the JBS issue linked above. I am very keen to 
hear thoughts in the JBS issue (don't spam the list!), and let's see how 
things shape up from this discussion.

-- 


-- Jonathan



More information about the openjfx-dev mailing list