Results 1 to 1 of 1
Thread: JCalender
- 11-12-2012, 06:37 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 7
- Rep Power
- 0
JCalender
Hi
I want to make a program that can add events to a calendar.
I Installed Jcalender to netbeans. But the problem is. it dosnt contain a function add events to current date. I want to build some more!
So my idea is:
1. I click on the calendar date. And return the timeZone + the button text. Why do i need current time + the pressed datebutton text.
A. time is used when i add event so its contain this information with it.
B. Current DateButton pressed : use when i click on the calendar days. its should reload all events contained in this day.
The problem is its dosnt have this function and the solution maybe is:
Take the pressed buton text: eg. 23. This tell me what day it is. and i can use time to know which years and month it is. so i can concatenate this to:
eg. button days= "22" + month+ years = 22-11-2012 this can be used to load all events from this day, and print it out to screen or show this in the table.
Problem is.: when i click on the Jcalender. I dont know how to return this button dayText.
eg.
1 2. 3 4 5 6 7
8 9 10 11 12 13 14
i click on day 10 button it should return 10:
if i click on 14 button it should return 14:
Calendar getCurrentButtonDay = jCalendar2.getCalendar();
getCurrentButtonDay.?????????
plz help. or if u have other solution. how to add events to calender.??Last edited by must0995; 11-12-2012 at 06:40 PM.
Similar Threads
-
JCalender
By anilkumar_vist in forum New To JavaReplies: 5Last Post: 01-04-2010, 01:01 PM -
How can we use JCalender in Java Swing Application?
By makpandian in forum AWT / SwingReplies: 4Last Post: 03-06-2009, 09:08 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks