InputMap im = new InputMap ();
InputMapUIResource im = new InputMapUIResource ();
    public Object createValue(UIDefaults table)    {      InputMap im = new InputMap ();      for (int i = 0; 2*i+1 < bind.length; ++i)        {          im.put (KeyStroke.getKeyStroke ((String) bind[2*i]),                  bind[2*i+1]);        }      return im;    }