1.
***************
How do I add CalendarBn.jar to my classpath if it is stored in the directory c:\dtpicker

->Just run DOS and write on the foll command on the dos prompt
	set classpath=c:\jdk1.2.1\lib; c:\jdk1.2.1\bin; . ;c:\cal\CalendarBn.jar

Don't miss out the "." in your classpath setting.

The . implies current directory.
(The classpath is similar to the PATH command of DOS it shows JAVA the path it should search for classes)


2.
***************
How to use the bean in an IDE 

If you are using an IDE ie. Sun Microsystems BDK or Forte , Visual Age, JDeveloper, etc.
-------------------------------------------------------------------------------------------
Figure out the way by which you can add a Bean to your Beans pallete
Then add this Bean using CalendarBn.jar file
Once its on the  Beans pallete just drag its on your container ie. frame/applet/panel

eg. BDK
1.start Sun's BDK from file menu select -> load jar file 
2.From the file open dialog box select the CalendarBn.jar file.	It adds to components panel
3.Select it and place it on the frame.

Thats All


3.
***************
I don't understand the Java Docs can you give some simple explantion.
Go through :- simpleexplanation.txt & steps.txt


4.
***************
I would like to get free & direct delivery of the new versions,bug fixes,etc. of this bean.
Go through:-  registeration.txt


5.
***************
Can CalendarBn Help me validate a date from my own Date-Input component.

YES why not:

Create a CalendarBn object do not add it to any container(Frame/Applet/panel).

Accept the date from the user through your own component. 

Pass this Date to the various setDate methods of the CalendarBn and trap the CalendarBnException. 

Check if the CalendarBnException is an instance of 

InvalidDateException, GreaterThanMaxDateException or LessThanMinDateException as per your requirements.


6.
***************
Help on all the methods of CalendarBn is available.
Just go to JavaDocs Directory & double click index.html.


7.
***************
How to use a DateRange Effectively.
The DateRange can be set using setMinDate & setMaxDate methods.

Suppose you have have an Age section & you are accepting the Date of Birth and you want that the age should not be less than 18 yrs. Then you can set the MinDate accordingly in the CalendarBn Object that is assigned to accept the DOB.

Suppose you need that the Date Entered should not be greater than TODAY. Then you could set the MaxDate part accordingly.

The user wont be able to select any date below the Mindate & any Date above the MaxDate


8.
***************
I want the date selected in my CalendarBn object in its current format.

You can get the actual date using the getDate() which returns the selected date as a GregorianCalendar object.

------>
If you want any date in a particular format specified in the CalendarBn class use
	getFormattedDate(GregorianCalendar dt,int format);

So, dp.getFormattedDate(dp.getDate(),dp.dd_mm_yyyy); will return the selected date in the specified format.

------>
If you want the selected date with the already selected format in the CalendarBn object use,
	getFormattedDate();


9.
***************
Can change the color settings of the CalendarBn.
Yes try out the foll methods:

	void setBackground(java.awt.Color color)
	void setBackground(java.awt.Color color) 
	void setArrowColor(java.awt.Color color) 

	 //changes color of Day,Month & year
	void setDaysColor(java.awt.Color color)
	void setMonthColor(Color color)
	void setYearColor(Color color)

	void setWeekdaysColor(java.awt.Color color) //changes color of sunday-saturday
	
	void setSelectionColor(java.awt.Color color) 


10.
***************
There is One imp. suggestion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

**>> VIMP

If you are intending to use this bean in a Browser, I recommened that you extract CalendarBn.jar file. You will get a CalendarBean folder. Place this folder under the same location where you have your class that is using this bean present.

eg.
myapp.class is using the CalendarBn class & it is present under the directory c:\MYdir
ie. C:\MYdir\myapp.class

Then place the extracted CalendarBean directory under c:\MYdir
ie. C:\MYdir\CalendarBean\*.*

This is to be done in case a browser does'nt understand the archive parameter of the applet tag.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


If you have any other queries mail me at pramodjaiswal@hotmail.com


--- PRAMOD S. JAISWAL

