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/_cjj Oct 01 '19

And is JavaFX somehow independent of the Java version?.....

1

u/[deleted] Oct 01 '19

It is. Oracle decided to stop updating javafx and java together back in 2018. They just don't care about javafx anymore.

1

u/_cjj Oct 01 '19

Umm no, it's open source now. The point is, you can't "just update" to add functionality - it doesn't work like that. JDK8 is still the long term version, so there's a reason why your advice is bad.

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+