void () { if (myStep.isSpeedSearchEnabled()) { getList().getActionMap().put(TransferHandler.getPasteAction().getValue(Action.NAME), new AbstractAction() { @Override public void actionPerformed(ActionEvent e) { getSpeedSearch().type(CopyPasteManager.getInstance().getContents(DataFlavor.stringFlavor)); getSpeedSearch().update(); } }); } }