[External] : Re: FYI: Draft JEP: JDK-8368874 JEP: Add a JDatePicker UI Component to the Swing UI Toolkit (Preview)

Tejesh R tejesh.r at oracle.com
Tue Oct 7 09:18:49 UTC 2025


Hello David,

                Thank you for the feedback. We currently have 3 options to select year (drop down is not an option though).

  1.  Set the year through TextField in JDatepicker for selection.
  2.  Select using navigation buttons next to Year Label which increment/decrement by 1 count.
  3.  Select using a separate Year panel which has a default Year scroll limit/range for easier navigation through mouse/key press. (The limit can be modified through api).

Regards,
Tejesh R



Confidential – Oracle Internal
From: David Alayachew <davidalayachew at gmail.com>
Date: Tuesday, 30 September 2025 at 3:53 PM
To: Tejesh R <tejesh.r at oracle.com>
Cc: "client-libs-dev at openjdk.java.net" <client-libs-dev at openjdk.java.net>
Subject: [External] : Re: FYI: Draft JEP: JDK-8368874 JEP: Add a JDatePicker UI Component to the Swing UI Toolkit (Preview)

Looks great Tejesh R.

Only feedback is that, don't have a whole drop down for year. Since you are using LocalDate, then year could feasibly be 3000, and I don't think that having a scrollable list for that benefits anyone.

Just have the year selection be a text field, with some arrows for increment and decrement, and then maybe some keyboard controls for that same increment and decrement.

On Tue, Sep 30, 2025, 12:32 AM Tejesh R <tejesh.r at oracle.com<mailto:tejesh.r at oracle.com>> wrote:
Hello Swing Community,

                I just submitted - in draft state - https://bugs.openjdk.org/browse/JDK-8368874 which proposes to Add a JDatePicker UI Component to the Swing UI Toolkit.

Regards,
Tejesh R



Confidential – Oracle Internal
From: Tejesh R <tejesh.r at oracle.com<mailto:tejesh.r at oracle.com>>
Date: Wednesday, 23 October 2024 at 11:20 AM
To: "client-libs-dev at openjdk.java.net<mailto:client-libs-dev at openjdk.java.net>" <client-libs-dev at openjdk.java.net<mailto:client-libs-dev at openjdk.java.net>>
Subject: RE: Seeking feedback on a possible JDatePicker Swing component

Hello Swing Community,

Thank you all for your valuable feedback on a possible JDatePicker Swing Component. [1]
The respondents all welcomed the proposal, so we plan to move forward with it.
We are digesting the details of the feedback and will draw upon it to create a draft JEP,
which we will publish as soon as it is ready.
Regards,
Tejesh R
JDK client team

[1] https://mail.openjdk.org/pipermail/client-libs-dev/2024-August/021805.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20251007/735ba4c6/attachment-0001.htm>


More information about the client-libs-dev mailing list