This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
SwingUtilities.replaceUIInputMap(c, JComponent.WHEN_FOCUSED, null);
EditorApiPackageAccessor.get().register(component);
if (!Boolean.TRUE.equals(component.getClientProperty("AsTextField"))) { // NOI18N
// Auto-register editors, that do not behave like a text field.
}
component.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));