I am using JDateChooser so that users can click calendar to select a date. Currently, textfield next to the calendar starts with an empty field. Only when user selects date in the calendar, the date automatically gets filled into the textfield.
However, I'd like for users to manually type dates without having to use the calendar. In order to remind users of the date format, I'd like to use place holder like 'yyyy-mm-dd' in the textfield.
However, the text field is not an object of JTextField but it came with an object of JDateChooser. JDateChooser doesn't have methods to set placeholder like what normally JTextField can do by setting texts.
JDateChooser textField = new JMIGDateChooser();
How can I go about this? I'd appreciate your input!