File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes how to get to date by from date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply locked New topic
Author

how to get to date by from date

Narendra kodli
Greenhorn

Joined: Dec 24, 2011
Posts: 22
Hello all,

I want to know how to get to date by from date, i am using two jspinner and jspinner model. my task is to add change listner to spinner1 and give the from date values after which spinner2 should give to date values. to date values are based on monthly,quarterly,halfyearly and yearly. spinner2 values should be changed with respect to spinner1 values.

so please help me to solve this problem
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

You were already discussing this in this thread, where you posted, 4 weeks ago:
Narendra kodli wrote:Ok... Now i am able to get date values and my new task is to calculate to date from from date. That is if i give todays date it should calculate and display next year date. I am using spinnerdatemodel and jspinner. How to do that


Please Use One Thread Per Question. I'm locking this one.


luck, db
There are no new questions, but there may be new answers.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to get to date by from date
 
Similar Threads
JSpinner DateModel : Set a date
JSpinner SpinnerDateModel
[question]how to "extract" day,month,year,min,second from selected SpinnerDateModel
Is it possible to bind a component with two other components
How to insert date values to database using java swings