ergerodr / fest

Automatically exported from code.google.com/p/fest
0 stars 0 forks source link

JTableTextComponentEditorCellWriter should check if cell editor is already activated before trying to activate it #309

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
From Ken Geis (issue 286):

On top of that, JTableTextComponentEditorCellWriter.doStartCellEditing(..)
calls activateEditorWithF2Key(..) without checking first to see if the cell
editor is already activated.  In my application, the cell goes into edit
mode when the table gets focus.  The effect of sending F2 at that point is
deactivating the cell editor.

Original issue reported on code.google.com by Alex.Rui...@gmail.com on 8 Feb 2009 at 7:41

GoogleCodeExporter commented 8 years ago
I'm not sure if I should fix this bug. If I check for if the cell editor is 
already
activated, it would involved a lookup that may slow down tests. I don't know how
common the case Ken described is. I need more time to consider whether this bug
should be addressed for version 1.1. Worst-case scenario, users (in this case 
Ken)
can create their own implementations of JTableCellWriter and added to a 
JTableFixture.

I'm not closing the bug. 

Original comment by Alex.Rui...@gmail.com on 9 Feb 2009 at 6:07

GoogleCodeExporter commented 8 years ago
Issue migrated to http://kenai.com/jira/browse/FEST-44

Original comment by Alex.Rui...@gmail.com on 15 Feb 2009 at 4:15

GoogleCodeExporter commented 8 years ago
Issue migrated to http://jira.codehaus.org/browse/FEST-48

Original comment by Alex.Rui...@gmail.com on 5 Mar 2009 at 7:56