question: public void editText ( VisualItem item , String attribute , Rectangle r ) { if ( m_editing ) { stopEditing ( ) ; } String txt = item . getString ( attribute ) ; m_editItem = item ; m_editAttribute = attribute ; Color tc = ColorLib . getColor ( item . getTextColor ( ) ) ; Color fc = ColorLib . getColor ( item . getFillColor ( ) ) ; m_editor . setForeground ( tc ) ; m_editor . setBackground ( fc ) ; editText ( txt , r ) ; }
target:  Edit text for the given VisualItem and field. Presents a text editing widget spaning the given bounding box. Use stopEditing() to hide the text widget. When stopEditing() is called, the field will automatically be updated with the VisualItem.