I am new to java and wanted to know if they was a way to jump to a JFrame from a JOptionFrame this is my code so far:
public class Input {
public static void main(String[] args) {
String choose;
choose = JOptionPane.showInputDialog("Create New\n 1. Customer\n 2. Invoice");
if(choose.equalsIgnoreCase("customer")|| choose =="1"){
}else if(choose.equalsIgnoreCase("invoice")|| choose =="2"){
}else return;
}
}