Remove main method from SearchForm
Remove Main class
Create isNull boolean method which returns true if all inputs are null
Call isNull method
Create a Message Dialog in case of empty inputs
Create Message Dialogs in case of user gives wrong inputs
Correct a code bug
Fix code.
Fix code and improve if statements.