Is there any date picker for Java Swing when I click on a text box and it appears?

Is there any date picker for Java Swing when I click on a text box and the calendar pops up and can I select a date ?? (no extra button)

0
source share
3 answers

Update: 2017

When this question was asked, the SwingX project still existed, and one control was used by JXDatePicker.

Currently, I can no longer find any traces of this project, and to be honest, I don’t even know if there is a swing :). I mark this answer as a community wiki, so if anyone knows anything about this subject, they can freely update it.

Old answer:

Swingx has a good JXDatePicker control. Since Oracle moved java.net to kenai, it's a bit of an adventure to find anything.

Here is the main page: http://swingx.java.net/

There is a JWS demo there.

and here is the boot area

http://java.net/downloads/swingx/releases/1.6.2/

+4
source

No, there is no date picker component in Java Swing. You can try JCalendar - date picker .

+3
source

I suggest using JSpinner (since there is no popup) for the implemented SpinnerDateModel

+2
source

Source: https://habr.com/ru/post/1204502/


All Articles