An image forming apparatus includes a display unit, a plurality of types
of input units, an input unit recognizing unit that recognizes a type of
input unit via which input is being performed, and a display control
unit. If a function menu has been selected of the first screen via the
input unit, the display control unit displays a second screen, on the
display unit, for selecting an item in the function menu selected on the
first screen. Herein, based on a type of input unit recognized by the
input unit recognizing unit when the function menu was selected on the
first screen, the display control unit displays the second screen that
corresponds to the recognized input unit on the display unit.