private void init(boolean autoCreateRowSorter) { sortOrderCycle = DefaultSortController.getDefaultSortOrderCycle(); setSortable(true); setSortsOnUpdates(true); setAutoCreateRowSorter(autoCreateRowSorter); Action findAction = createFindAction(); getActionMap().put("find", findAction); KeyStroke findStroke = SearchFactory.getInstance().getSearchAccelerator(); getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(findStroke, "find"); }
private void init(boolean autoCreateRowSorter) { sortOrderCycle = DefaultSortController.getDefaultSortOrderCycle(); setSortable(true); setSortsOnUpdates(true); setAutoCreateRowSorter(autoCreateRowSorter); Action findAction = createFindAction(); getActionMap().put("find", findAction); KeyStroke findStroke = SearchFactory.getInstance().getSearchAccelerator(); getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(findStroke, "find"); }
private void init(boolean autoCreateRowSorter) { sortOrderCycle = DefaultSortController.getDefaultSortOrderCycle(); setSortable(true); setSortsOnUpdates(true); setAutoCreateRowSorter(autoCreateRowSorter); Action findAction = createFindAction(); getActionMap().put("find", findAction); KeyStroke findStroke = SearchFactory.getInstance().getSearchAccelerator(); getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(findStroke, "find"); }
private void init(boolean autoCreateRowSorter) { sortOrderCycle = DefaultSortController.getDefaultSortOrderCycle(); setSortable(true); setSortsOnUpdates(true); setAutoCreateRowSorter(autoCreateRowSorter); Action findAction = createFindAction(); getActionMap().put("find", findAction); KeyStroke findStroke = SearchFactory.getInstance().getSearchAccelerator(); getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(findStroke, "find"); }