static void AddNewCustomer() { try { int id; String UniqCustID, uniqcustid, newcust, UniqueNumber; do { UniqCustID = "Please enter unique customer id : "; uniqcustid = JOptionPane.showInputDialog( UniqCustID ); UniqueNumber(id, newcust); if (UniqueNumber(id, newcust) == false) { JOptionPane.showMessageDialog(null, "Customer id already exists or you entered a number less than 1!"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)