当我单击文本字段并弹出时,是否有Java Swing的日期选择器? [英] Is there any date picker for Java Swing when I click the textfield and it pops up?
问题描述
当我单击文本字段并弹出日历并可以选择日期时,是否有Java Swing的日期选择器? (请没有任何额外的按钮)
Is there any date picker for Java Swing when I click the textfield and the calendar pops up and I can choose the date?? (without any extra button please)
推荐答案
更新:2019
在积极的开发中,您会发现 LGoodDatePicker
Under active development, you'll find LGoodDatePicker
这些功能包括:DatePicker,TimePicker,DateTimePicker,CalendarPanel
These features are included: DatePicker, TimePicker, DateTimePicker, CalendarPanel
更新时间:2017
问这个问题时,SwingX项目仍然存在,并且使用JXDatePicker控件是一个选择。
When this question was asked, the SwingX project still existed and JXDatePicker control was one option to use.
当前我不能再也找不到该项目的任何痕迹了,说实话,我什至不知道秋千是否仍然存在:)。我将此答案标记为社区Wiki,因此,如果有人对此主题有任何了解,他/她可以自由更新。
Currently I can no longer find any trace of this project and to be honest I don't even know if swing still exists :). I'm marking this answer as community wiki, so if anyone knows anything about this subject he/she can update it freely.
旧答案:
Swingx有一个不错的JXDatePicker控件。自从Oracle将java.net移到kenai以来,找到任何东西有点冒险。
Swingx has a nice JXDatePicker control. Since Oracle moved java.net to kenai it's a bit of an adventure to find anything.
这是主页:
http://swingx.java.net/
那里有一个JWS演示
,这是下载区域
> http://java.net/downloads/swingx/releases/1.6.2/
这篇关于当我单击文本字段并弹出时,是否有Java Swing的日期选择器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!