graphical calendar view  
Author Message
Brandon McCombs





PostPosted: 2007-12-29 4:39:00 Top

java-programmer, graphical calendar view Hello,

It seems that the standard Java library doesn't include a graphical
calendar component so I was wondering if anyone happens to know of a
free one, preferably one that is big enough that would allow text to be
readable on the individual days (to list daily tasks, etc.)?

If there isn't one, any ideas on how I'd go about creating my own based
on the info from the existing java.util.Calendar object? I assume I
would probably need to have a JTable created at the least. Any
suggestions on doing that are appreciated.

thanks
Brandon
 
Brandon McCombs





PostPosted: 2007-12-30 2:54:00 Top

java-programmer >> graphical calendar view Knute Johnson wrote:
> Brandon McCombs wrote:
>> Hello,
>>
>> It seems that the standard Java library doesn't include a graphical
>> calendar component so I was wondering if anyone happens to know of a
>> free one, preferably one that is big enough that would allow text to
>> be readable on the individual days (to list daily tasks, etc.)?
>>
>> If there isn't one, any ideas on how I'd go about creating my own
>> based on the info from the existing java.util.Calendar object? I
>> assume I would probably need to have a JTable created at the least.
>> Any suggestions on doing that are appreciated.
>>
>> thanks
>> Brandon
>
> I would create a Component that draws the month that you want to see.
> You can draw your appointments or whatever the same way. Your
> application will need controls to select a month, add appointments or
> whatever.
>

Do you mean to do so using a Graphics2D canvas on the Component? That
will obviously take some time to make sure all the lines match up
correctly. I'd like to have any text on the days be clickable so that a
JList also in the window can display the details of the item that is
clicked. That response is doable (although very difficult I think) with
text on a Graphics canvas however showing that the text was actually
clicked would not occur to provide the user feedback similar to how a
hyperlink being clicked provides user feedback. thanks Knute


Brandon

 
Chase Preuninger





PostPosted: 2007-12-31 4:13:00 Top

java-programmer >> graphical calendar view I once got a really good one by searching JCalendar on google.
 
 
Sabine Dinis Blochberger





PostPosted: 2008-1-2 17:54:00 Top

java-programmer >> graphical calendar view Brandon McCombs wrote:

> Hello,
>
> It seems that the standard Java library doesn't include a graphical
> calendar component so I was wondering if anyone happens to know of a
> free one, preferably one that is big enough that would allow text to be
> readable on the individual days (to list daily tasks, etc.)?
>
> If there isn't one, any ideas on how I'd go about creating my own based
> on the info from the existing java.util.Calendar object? I assume I
> would probably need to have a JTable created at the least. Any
> suggestions on doing that are appreciated.
>
> thanks
> Brandon

This [1] might be more than you need, but the ICU4J demo [2] has a
graphical calendar.

[1] http://www.icu-project.org/
[2] http://icu-project.org/icu4jdemos.html
--
Sabine Dinis Blochberger

Op3racional
www.op3racional.eu