使用jdatechooser [英] working with jdatechooser

查看:113
本文介绍了使用jdatechooser的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要帮助。我正在做预订系统我怀疑是



i有2个jdate选择器和文本框,一个jdatechooser用于开始,一个用于结束



用于示例用户从开始日期选择器中选择日期,之后在文本字段中输入年份编号。所以自动结束日期选择器更改用户无法编辑结束日期选择器的年份



步骤1从日期选择器开始选择日期



步骤2在jtextbox中输入年份编号



步骤3自动结束datechoser值更改



记住它的java类

I need a help. i am doing reservation system my doubt is

i have 2 jdate chooser and text box and one jdatechooser is for start and one for end

for an example user selecting date from start date chooser and after that he entering the no of year in a text field. so automatically end date chooser changes the year where user cant edit the end date chooser

Step 1 Select the Date from Date chooser start

Step 2 enter the no of year in jtextbox

Step 3 automatically the end datechoser value changes

remember its a java class

推荐答案

步骤4

记住它是一个功课,你必须自己编写代码。





步骤5

收集有关jdatechooser的信息: http://toedter.com/jcalendar/ [ ^ ]



步骤6

回来并在需要时询问具体情况。首选发布代码。
Step 4
remember it's a homework and you have to write the code yourself.


Step 5
collect information about jdatechooser : http://toedter.com/jcalendar/[^]

Step 6
come back and ask specific when needed. posting code is preferred.


这篇关于使用jdatechooser的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆