Java GUI if/else issue?
personal boolean checkNumber() in case (textPhone.startsWith(“972”) textPhone.startsWith(“214”)) labelPhone.setForeground(Color.BLACK); return true; different labelPhone.setForeground(Color.RED); return false; this challenge is part of a GUI enrollment form for a project im working on and I’d be pleased if anyone could assist me out keeping this, basically im attempting to say in case whatever variety …