You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/10/10 19:42:06 UTC

[GitHub] [netbeans] Enroi commented on pull request #2278: [NETBEANS-626] Invoke tableDataChanged on CountingTableModel from Ins…

Enroi commented on pull request #2278:
URL: https://github.com/apache/netbeans/pull/2278#issuecomment-706601369


   > @Enroi it is good, that it is a smaller change. But it still involves the UI part manually updating the model part. The problem is still the coupling of the the two datamodels. The counting model relies on the UI being updated. So I suggest to modify this method:
   > 
   > https://github.com/apache/netbeans/blob/709587a5a001f78707c32a32c4272a21ecc85fca/ide/db.dataview/src/org/netbeans/modules/db/dataview/table/JXTableRowHeader.java#L189-L192
   > 
   > When this method is invoked, all events on the EDT have to have been processed. Only when that is true, the UI model of the backing table is in a stable state. `SwingUtilities#invokeLater` is a candidate to handle this, as it will enqueue the new action after the existing events.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists