Hi guys well my code is below I am trying to set up error checking so that CREATETABLE will only execute when String v and string d are false and when string t is true. I've started the code. Which it works when String v or String d are null so what else would I need to do or change to get it to work when string v,d are false.
Thanks for any help you can give:
String t = TABLENAME.getText();
String v = colum1NAME.getText();
String d = colum2NAME.getText();
if (e.getSource() == CREATETABLE) {
if (v.equals("") ^ d.equals("")) {
showMessageDialog(this, "Only enter tablename name");
return;
}