| Author |
Displaying Graphical calendar !!
|
Naren Chivukula
Ranch Hand
Joined: Feb 03, 2004
Posts: 542
|
|
Hi, I'd like to know how to display a calendar. My requirement is like to show as many columns as my days are and if there is any my assignment starting on 2004-May-1, 09:30 and ends on 2004-May-3, 21:50 I should be able to see it graphically with exact time also(with some rectangle on the calendar). How should I write this kind of program. I already did it using JavaSwings which is not suitable for exact start and end time diplay. Can I do it using 2DGraphics ? or is there any other package in java?? Plz clarify me. With Regards, Narendranath
|
Cheers,
Naren (SCJP, SCDJWS and SCWCD)
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
I already did it using JavaSwings which is not suitable for exact start and end time diplay.
Why not?
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Joel McNary
Bartender
Joined: Aug 20, 2001
Posts: 1815
|
|
Is this a class assignment, or a work assignment? If it's a class assignment, then you should take a closer look at the Swing and creating custom JPanels, overriding the paint to paint whatever you want (using Graphics2D). If this is a work assignment, take a look at JFreeChart. While I've not used it myself, I know that it has the capabilities to display a Gantt Chart, which sounds to me like what you are describing. See if that suits your needs.
|
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
|
 |
Naren Chivukula
Ranch Hand
Joined: Feb 03, 2004
Posts: 542
|
|
Ok I'll make it JFreeChart useful. Thanks guys ! Regards, Narendranath
|
 |
 |
|
|
subject: Displaying Graphical calendar !!
|
|
|