java WindowBuilder 的 DatePicker?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17278995/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-01 01:34:24  来源:igfitidea点击:

DatePicker for WindowBuilder?

javadatepickerwindowbuilder

提问by user2496520

I am using WindowBuilder (Eclipse Juno 4.2) to create GUI for my project. In that GUI I need to use date picker. I searched online for some date pickers and found out some library that will do work but for some reason I can't implemet it in WindowBuilder. Is there any Date picker that will work (that can be added as a Window Builder component) with WindowBuilder. Regards.

我正在使用 WindowBuilder (Eclipse Juno 4.2) 为我的项目创建 GUI。在那个 GUI 中,我需要使用日期选择器。我在网上搜索了一些日期选择器,发现了一些可以工作的库,但由于某种原因我无法在 WindowBuilder 中实现它。是否有任何日期选择器可以与 WindowBuilder 一起工作(可以添加为 Window Builder 组件)。问候。

采纳答案by Hyman Harkness

I would recommend jCalendarfor your date picker widget.

我会为您的日期选择器小部件推荐jCalendar

Just right-click on the swing palette, then choose Palette Manager and from there you can add the jCalendar Jar files.

只需右键单击摆动调色板,然后选择调色板管理器,然后您就可以添加 jCalendar Jar 文件。

回答by Yaza

For SWT there is an internal date picker but also a myriad of widgets in the Eclipse Nebula project.

对于 SWT,有一个内部日期选择器,但在 Eclipse Nebula 项目中还有无数的小部件。