u can do it one statement my guy.... if (userr.equals("") || (Full.equals("")) || (Last.equals("")) || (Email.equals("")) || (pass.equals("")) || (conpass.equals(""))){ JOptionPane.showMessageDialog(null, "Please don't leave any fields blank"); }
bro your code is good but what will happen if you enter the button without any information it will show an error along with empty data will get stored in the database as a null values, so what i RECOMMEND to you is use with IF conditions so it will prevent null values
Absolutely bro i didn't prepare for that and thanks for your nice comment .you know like i was showing just how to store data on database .if you wanna check the existing account and there is no data entered by users don't allow them to store on database by using if else statement.