An information-processing device comprising: a plurality of keys; characterized in that it further comprises: a memory that stores key arrangement data indicating an arrangement of said plurality of keys; an identification part for identifying each display position of a plurality of windows displayed on a screen; an allocation part for comparing an arrangement of the windows obtained by comparing the display position of each window identified by said identification part with the arrangement of keys displayed by said key arrangement data, and uniquely allocates to said each window a key for selecting the relevant window from among said plurality of keys, so that the arrangement of said windows and the arrangement of said keys are identical or similar; a notifying part for notifying of keys allocated by said allocation part; and a selection part for selecting the window to which an operated key is allocated when any of the keys notified by said notifying part is operated, a determination part for determining whether or not the number of windows displayed on the screen exceeds the number of allocatable keys indicated by said key arrangement data; and a configuration part that, if said determination part determines there is an excess, is arranged to configure a partial region including windows of a quantity equal to or less than the number of said allocatable keys, wherein said allocation part is so arranged that, if said determination part determines there is an excess then, instead of said uniquely allocating, it allocates a key for each window displayed within the partial region configured by said configuration part. a plurality of keys; characterized in that it further comprises: a memory that stores key arrangement data indicating an arrangement of said plurality of keys; an identification part for identifying each display position of a plurality of windows displayed on a screen; an allocation part for comparing an arrangement of the windows obtained by comparing the display position of each window identified by said identification part with the arrangement of keys displayed by said key arrangement data, and uniquely allocates to said each window a key for selecting the relevant window from among said plurality of keys, so that the arrangement of said windows and the arrangement of said keys are identical or similar; a notifying part for notifying of keys allocated by said allocation part; and a selection part for selecting the window to which an operated key is allocated when any of the keys notified by said notifying part is operated, a determination part for determining whether or not the number of windows displayed on the screen exceeds the number of allocatable keys indicated by said key arrangement data; and a configuration part that, if said determination part determines there is an excess, is arranged to configure a partial region including windows of a quantity equal to or less than the number of said allocatable keys, wherein said allocation part is so arranged that, if said determination part determines there is an excess then, instead of said uniquely allocating, it allocates a key for each window displayed within the partial region configured by said configuration part. a memory that stores key arrangement data indicating an arrangement of said plurality of keys; an identification part for identifying each display position of a plurality of windows displayed on a screen; an allocation part for comparing an arrangement of the windows obtained by comparing the display position of each window identified by said identification part with the arrangement of keys displayed by said key arrangement data, and uniquely allocates to said each window a key for selecting the relevant window from among said plurality of keys, so that the arrangement of said windows and the arrangement of said keys are identical or similar; a notifying part for notifying of keys allocated by said allocation part; and a selection part for selecting the window to which an operated key is allocated when any of the keys notified by said notifying part is operated, a determination part for determining whether or not the number of windows displayed on the screen exceeds the number of allocatable keys indicated by said key arrangement data; and a configuration part that, if said determination part determines there is an excess, is arranged to configure a partial region including windows of a quantity equal to or less than the number of said allocatable keys, wherein said allocation part is so arranged that, if said determination part determines there is an excess then, instead of said uniquely allocating, it allocates a key for each window displayed within the partial region configured by said configuration part.