Yes. But I think you are talking about something like JDateChooser
:
JDateChooser dateChooser = new JDateChooser();
dateChooser.getDateEditor().setEnabled(false);
Doing this you avoid that users input manually the date through the editor, they must to choose the date by the graphical chooser.