| What
is JDateManager
How to use / integrate JDateManager What developers need to know Licensing Download JDateManager HomePage |
![]() |
It is for Java applications
so users can easily and intuitively add and remove multiple dates.
Snapshot
of JDateManager
User can select
dates from the day selector panel or remove single or multiple dates from
the Selected dates panel.
For multiple selection press and hold Ctrl and select dates
How
to use / integrate JDateManager.
It is assumed you
are familiar with the Java swing package .
unzip JDateManager.zip to any directory.
Three examples are provided to show you how to use JDateManager.
1) RunTest1.java
Shows how to use
JDateManager
without any dates inserted.
2) RunTest2.java
Shows how to use
JDateManager
with some date inserted, and some remarked out code on using various locale.
3) JDateManagerTest.java
Shows how to use
JDateManager
as a part of an application.
Compile and run each one to observe the functionality of JDateManager.
While JDateManager
displays dates sorted,
returning array
is not sorted and you have to sort it as per your requirements.
JDateManager is a subclass of javax.swing.JPanel.
To use JDateManager your class has to implement cal.Selector as it is shown in the examples.
your class also has to implement setDateArray( java.util.Date[ ] date)as it is shown in the examples.
Following is from
RunTest2.java
/*
*
implement setDateArray to capture selected dates
*
*/
public void setDateArray(
java.util.Date[ ] date) {
if(date==null){
jDialog.dispose();
System.exit(0);
}
for (int i = 0; i<date.length;++i){
System.out.println(java.text.DateFormat.getDateInstance().format(date[i]));
}
jDialog.dispose();
System.exit(0);
}
Licensing
This
package contains JDateManager licensed for evaluation only.
By downloading and using this package you agree with the following terms and conditions
1) You understand and agree this is licensed for evaluation only.
2) You understand and agree not to use any of the accompanied components and documents for any reason other than evaluation.
3) You understand and agree to use JDateManager according to accompanied documents
4) You understand and agree not to reverse engineer any part of the contained material.
5)
You understand and agree that you are deploying and operating
JDateManager on your own risk for evaluation only.
6)
You understand and agree that you require a license to use JDateManager
on any computer or any type of network for any reason other than evaluation.
7)
You understand and agree not to make any of the accompanied components
and documents accessible to public in any version or form and by any means.
8)
You understand and agree not to release or make accessible to public JDateManager
evaluation version as apart of any package in any form and for any reason.
Please direct all queries to [email protected]