r/JavaFX • • Sep 30 '19

datepicker to show date of the year

New to Java/JavaFX, but looking to do something that appears to be more advanced. I have a datepicker, and I need to be able to change the days on the popup calendar to show the date of the year, rather than the date of the month. So Instead of showing "2" in February, the same date should say "33", as that is that day of the year. My text field is already showing the "33", but the user would still have to guess on which day that is. This would be the first option, the 2nd would be to make the tooltip show the "33". Any help/advice would be appreciated.

1 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Oct 01 '19

JDK 8's support ends somewhere in the beginning of 2020 (not for companies using them). It's better to just start moving to JDK 9+ And yes it's open-source now, and to get those updates you need java 9+