0

Under JavaFX there is the date picker. Unfortunately, this DatePicker has an input field / search bar (see the first photo). I do not need this search bar, so I'd like to remove this. Only the calendar should be visible (see the second picture)

Thank you in advance, I am grateful for help.

enter image description here

enter image description here

Joe Mau
  • 59
  • 6
  • You cant access the private CalendarView class if thats what you are asking. If you want to just hind the TextField and only have the Button which makes the calendar view to appear, then thats possible to do by setting a small value to the width of the DatePicker. In any case I suggest to create one calendar from scratch or use an existed 3rd party library. – JKostikiadis Jun 05 '18 at 18:03
  • You could also look at the HTML5 datepicker attribute to see if that suites your needs. – Adam Jun 05 '18 at 18:18
  • Search `ControlsFX` extras – SedJ601 Jun 05 '18 at 18:24

0 Answers0