--- OutlineView_a.java 2013-11-09 18:22:25.000000000 -0500 +++ OutlineView_b.java 2013-11-09 18:23:11.000000000 -0500 @@ -288,40 +288,42 @@ outline.registerKeyboardAction( defaultTreeActionListener, KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0, false), JComponent.WHEN_FOCUSED ); final Color focusSelectionBackground = outline.getSelectionBackground(); final Color focusSelectionForeground = outline.getSelectionForeground(); outline.addFocusListener(new java.awt.event.FocusListener(){ @Override public void focusGained(java.awt.event.FocusEvent ev) { outline.setSelectionBackground(focusSelectionBackground); outline.setSelectionForeground(focusSelectionForeground); } @Override public void focusLost(java.awt.event.FocusEvent ev) { outline.setSelectionBackground(SheetCell.getNoFocusSelectionBackground()); outline.setSelectionForeground(SheetCell.getNoFocusSelectionForeground()); } }); + outline.setSelectionBackground(SheetCell.getNoFocusSelectionBackground()); + outline.setSelectionForeground(SheetCell.getNoFocusSelectionForeground()); TableColumnSelector tcs = Lookup.getDefault ().lookup (TableColumnSelector.class); if (tcs != null) { outline.setColumnSelector(tcs); } if (UIManager.getColor("control") != null) { // NOI18N getOutline().setGridColor(UIManager.getColor("control")); // NOI18N } if (DragDropUtilities.dragAndDropEnabled ) {//&& dragActive) { setDragSource(true); } setBorder( BorderFactory.createEmptyBorder() ); initializeTreeScrollSupport(); } private void attachQuickSearch(QuickSearch.Callback callback, boolean asynchronous, JMenu popup) { if (quickSearch != null) {