Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / January 2008

Tip: Looking for answers? Try searching our database.

graphical calendar view

Thread view: 
Brandon McCombs - 28 Dec 2007 20:38 GMT
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
Knute Johnson - 29 Dec 2007 00:27 GMT
> Hello,
>
[quoted text clipped - 10 lines]
> 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.

Signature

Knute Johnson
email s/nospam/knute/

Brandon McCombs - 29 Dec 2007 18:54 GMT
>> Hello,
>>
[quoted text clipped - 15 lines]
> 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
Knute Johnson - 29 Dec 2007 22:45 GMT
>>> Hello,
>>>
[quoted text clipped - 26 lines]
>
> Brandon

It wasn't exactly clear what you were trying to make so to simplify it,
create a day component that has the clickable features and then put them
together in a month component.  There are a million ways to attack this
depending on what exactly you want it to do.

Signature

Knute Johnson
email s/nospam/knute/

     ------->>>>>>http://www.NewsDem

Chase Preuninger - 30 Dec 2007 20:12 GMT
I once got a really good one by searching JCalendar on google.
Sabine Dinis Blochberger - 02 Jan 2008 09:54 GMT
> Hello,
>
[quoted text clipped - 10 lines]
> 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
Signature

Sabine Dinis Blochberger

Op3racional
www.op3racional.eu



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.