什么是好的 Java 日期选择器 Swing GUI 小部件?

2022-01-18 00:00:00 user-interface widget java swing

什么是好的 Java Swing 日期选择器组件?到目前为止,我只真正找到了这 2 个:

What are good Java Swing date-chooser components? So far I've only really found these 2:

  • JCalendar - 这个很好,因为它使用了底层外观和感觉.
  • SwingX 项目中的
  • JXMonthView - 不如它使用的那么好它自己的外观和感觉
  • JCalendar - this one is pretty good as it uses the underlying look and feel.
  • JXMonthView in the SwingX project - not so good as it uses its own look and feel

与我在网页上看到的一些相比,这两个看起来都有些笨拙.例如,同时看到 多个月 可能会很好.有谁知道那里有其他好的小部件吗?

Both of these look a bit clunky when compared with some I've seen on web-pages. For example, it might be nice to see multiple months at the same time. Does anyone know of any other good widgets out there?

推荐答案

最近发现并使用了Microba DatePicker (http://microba.sourceforge.net/) 用于涉及 Swing GUI 的个人项目,实际上我真的很喜欢这个控件的实现方式.此外,许可证是 BSD,因此您可以自定义控件并在需要时将其用于商业目的.

Recently I found and use the Microba DatePicker (http://microba.sourceforge.net/) for a personal project involving Swing GUIs, and I actually I really liked the way this control is implemented. Besides, the license is BSD, so you will be able to customize the control and use it for commercial purposes if you need to do so.

相关文章