Display calendar to pick a date in java
===

In other languages like VB, C#, in occasions where you want the user to enter a date, say in a text box,we can make a calendar to appear once you click on it. So the user can click on the corresponding date and that date will be put to the text box.

By that way we can get rid of problems that can be caused due to dates in an incorrect format. I need to know how we can achieve this in java?

Actually, I need to combine this with a jTable. there is a column where the date need to be entered. But users may enter dates in various formats. So I thought of going to something like this. Hope there is a way to do this, easily.

Will anyone please show me how to do this. Any help is greatly appreciated..

Thank you.