An electronic device comprising: a housing; a display section that is disposed inside the housing and that is capable to show contents; an electrostatic-capacitance touch panel section adapted to allow visible light corresponding to display the contents of the display section to pass through the touch panel section and that is capable to determine a two-dimensional coordinate indicated by an indicator (70, 71); a transparent member adapted to protect the touch panel section and to allow visible light corresponding to the contents of the display section to pass through the transparent member; and a depression detecting section adapted to detect deformation of the transparent member; wherein the indicator (70, 71) is a finger of a human being or an object having a predetermined electrical conductivity, the touch panel section and the depression detecting section are arranged on the front face side of the housing, the touch panel section is disposed on the front face side of the depression detecting section, the transparent member is provided on the front face side of the touch panel section, and the display section is disposed on the back side surface of the depression detecting section; characterized in that if a plurality of two-dimensional coordinates are determined in order by the touch panel section and, after determining the two-dimensional coordinates, a predetermined amount of deformation is detected by the depression detecting section, then a latest two-dimensional coordinate on the basis of a time point when the predetermined amount of deformation has been detected is validated among the plurality of two-dimensional coordinates; and one or more two-dimensional coordinates other than the validated two-dimensional coordinate are not validated among the plurality of two-dimensional coordinates. a housing; a display section that is disposed inside the housing and that is capable to show contents; an electrostatic-capacitance touch panel section adapted to allow visible light corresponding to display the contents of the display section to pass through the touch panel section and that is capable to determine a two-dimensional coordinate indicated by an indicator (70, 71); a transparent member adapted to protect the touch panel section and to allow visible light corresponding to the contents of the display section to pass through the transparent member; and a depression detecting section adapted to detect deformation of the transparent member; wherein the indicator (70, 71) is a finger of a human being or an object having a predetermined electrical conductivity, the touch panel section and the depression detecting section are arranged on the front face side of the housing, the touch panel section is disposed on the front face side of the depression detecting section, the transparent member is provided on the front face side of the touch panel section, and the display section is disposed on the back side surface of the depression detecting section; characterized in that if a plurality of two-dimensional coordinates are determined in order by the touch panel section and, after determining the two-dimensional coordinates, a predetermined amount of deformation is detected by the depression detecting section, then a latest two-dimensional coordinate on the basis of a time point when the predetermined amount of deformation has been detected is validated among the plurality of two-dimensional coordinates; and one or more two-dimensional coordinates other than the validated two-dimensional coordinate are not validated among the plurality of two-dimensional coordinates.