class Notepad { Notepad() { //get the graphical user interface components display area setJMenuBar(buildMenuBar()); } }