<p>Provided is an electronic device in which a user can select a type of characters to be inputted by an easy operation through a display which can intuitionally be understood. The user inputs a character via a software keyboard displayed on a touch panel and uses a different software keyboard in accordance with the type of the character to be inputted. The electronic device performs an animation display for shifting the software keyboard by a slide action against the touch panel when switching the software keyboard from one to another.</p>