or how use jdatechooser into a if else statement thank you for response guys

That question is so vague that nobody could answer it sensibly. Please explain EXACTLY what you are trying to do, what you have done so far, and exactly what is preventing you from progressing.
ps JDateChooser is not part of the standard Java API, so also specify where you got yours from and which version it is.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.