aspose file tools*
The moose likes Java in General and the fly likes Displaying Graphical calendar !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Displaying Graphical calendar !!" Watch "Displaying Graphical calendar !!" New topic
Author

Displaying Graphical calendar !!

Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 576

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
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
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: 576

Ok I'll make it JFreeChart useful. Thanks guys !

Regards,
Narendranath
 
 
subject: Displaying Graphical calendar !!
 
Similar Threads
howto: Date arithmatic ?
form-property : newbie question
Confusion in Calender Class
Reading date from Oracle based on calendar
java.util.Calendar, setTime and DST