Set True/false for whether to show the Exit menu item or not, respectively.
void setExit(boolean exit)
exit True/false for showing the Exit menu item or not, respectively.