/**Lazily create (or create a new instance of) the combo box editor */ private InplaceEditor getComboBoxEditor(boolean newInstance) { if (newInstance) return new ComboInplaceEditor(tableUI); if (combo == null) { combo = new ComboInplaceEditor(tableUI); //Mainly for debugging ((JComponent) combo).setName("ComboInplaceEditor for " + getClass().getName() + "@" + System.identityHashCode(this)); //NOI18N } return combo; }
/**Lazily create (or create a new instance of) the combo box editor */ private InplaceEditor getComboBoxEditor(boolean newInstance) { if (newInstance) return new ComboInplaceEditor(tableUI); if (combo == null) { combo = new ComboInplaceEditor(tableUI); //Mainly for debugging ((JComponent) combo).setName("ComboInplaceEditor for " + getClass().getName() + "@" + System.identityHashCode(this)); //NOI18N } return combo; }
/**Lazily create (or create a new instance of) the combo box editor */ private InplaceEditor getComboBoxEditor(boolean newInstance) { if (newInstance || isAqua || isMetal) { //#220163 return new ComboInplaceEditor(tableUI); } if (combo == null) { combo = new ComboInplaceEditor(tableUI); //Mainly for debugging ((JComponent) combo).setName( "ComboInplaceEditor for " + getClass().getName() + "@" + System.identityHashCode(this) ); //NOI18N } return combo; }