{ }
{ UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); action = new TableAction(); Object keys[] = ancestorMap.allKeys();    for (int i = 0; i < keys.length; i++) { table.registerKeyboardAction(action,(String)ancestorMap.get((KeyStroke)keys[i]), KeyStroke.getKeyStroke (((KeyStroke)keys[i]).getKeyCode(), convertModifiers(((KeyStroke)keys[i]).getModifiers())), JComponent.WHEN_FOCUSED);  table.registerKeyboardAction(action,(String)ancestorMap.get((KeyStroke)keys[i]), KeyStroke.getKeyStroke (((KeyStroke)keys[i]).getKeyCode(), ((KeyStroke)keys[i]).getModifiers()), JComponent.WHEN_FOCUSED); } }
  protected void installKeyboardActions()   {  }