public static InputMap makeInputMap (Object[] keys)

Creates an InputMapUIResource from keys. This is a convenience method for creating a new InputMapUIResource, invoking loadKeyBindings(map, keys), and returning the InputMapUIResource.

Parameters:
keys    alternating pairs of keystroke-action key pairs as described in loadKeyBindings

Returns:  newly created and populated InputMapUIResource

See also:
loadKeyBindings

Since:  1.3