[Java-gnome-developer] TreeView Focus OUT Problem
Brought to you by:
afcowie
From: Damian M. <da...@sp...> - 2006-01-13 13:40:04
|
I have a problem with loosing focus of Renderers in a TreeView. Whe you edit a cell in the treeview and after stopping edit you click a button or other component - then you don't lose the focus of the treeview and don't lose focus on the Editor component so the event cellRendererTextEvent is not triggered so the changes you have just made doesn't go to the model of the treeview. This can be avoided by after editing the cell you must click somewhere else in the trieview so the cell loses focus and then everything works, the event is trigered. Anybody faced this problem ? Any solution for this ? I've tried grabing focus of other componets and focus listeners and so on but nothing solved the problem. |