Something
public text v1 · immutablewhile(picked != "Quit")
picked = (String)JOptionPane.showInputDialog(
null,
"What do you want to do",
"Address Book",
JOptionPane.QUESTION_MESSAGE,
null,
OPTIONS,
OPTIONS[ADD_OPTION]);
if(picked.equals(OPTIONS[ADD_OPTION])){
input = JOptionPane.showInputDialog("Enter first and last name, along with an email address. (first,last,email)");
info = split(input, DELIMITER);
insert(fName,lName,eAddress,info,count);
count++;}