void (final int index) { final Property property=myProperties.get(index); final PropertyEditor editor=property.getEditor(); if(editor==null){ return; } editCellAt(index,convertColumnIndexToView(1)); LOG.assertTrue(editorComp!=null); // Now we have to request focus into the editor component JComponent prefComponent = editor.getPreferredFocusedComponent((JComponent)editorComp); if(prefComponent == null){ // use default policy to find preferred focused component prefComponent = IdeFocusTraversalPolicy.getPreferredFocusedComponent((JComponent)editorComp); } if (prefComponent != null) { prefComponent.requestFocusInWindow(); } }