J2SE Calendar new version..!!

Dictionary Screenshot

Now with an awesome and flexible API.

Download J2SE Calendar with JavaDoc.

Modifier and Type Method and Description
javax.swing.JLabel getCalendarViewLabel()

Returns the JLabel holds the month view.
javax.swing.JLabel getDateLabel(int day)

This method will return a JLabel in the J2SE Calendar, corresponding to the day you enter.
javax.swing.JLabel[] getDayLabels()

Returns the JLabel[42] used to represent days of the month.
javax.swing.JLabel getDayViewLabel()

Returns the JLabel holds the single day view.
java.util.Date getSelectedDate()

This method will give you the current selected date as a Date object.
boolean isDateChanged()

Shows if the date has been changed from the system date.
void refresh()

Refreshes the images.
void setCurrentDateLabelImage(javax.swing.ImageIcon img)

Sets the background Image for the Current Day View.
void setCurrentDayViewLabelImage(javax.swing.ImageIcon img)

Sets the background of the Day view, when the showing date is the system date.
void setMonthViewLabelImage(javax.swing.ImageIcon img)

Sets the background of the Month view
void setOtherDateLabelImage(javax.swing.ImageIcon img)

Sets the background Image for the Other Day View.
void setOtherDayViewLabelImage(javax.swing.ImageIcon img)

Sets the background of the Day view, when the showing date is not the system date.
void setSelectedDate(int year, int month, int date)

This method is used to set a particular Date to the J2SE Calendar.

Leave a Reply