Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JCalendar form sun

 
nirmal Rchavan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JCalendar component avaliable form the sun website is great. Best thing is U can customize it based on your needs.
My question to every one having konwledge of it is,
The dates displayed in the UI according to the days ie (below columns S M T W T F S) are correct, now say a month has 31 days and the 31st falls on a Monday, the next month 1st is displayed on Tuesday of the same month.
Please check it out and let me know is that a BUG OR NOT.
if its a bug then what would be the solution.

Appretiate your help Thanks
 
Campbell Ritchie
Sheriff
Posts: 48441
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know. This doesn't seem to be part of the standard API, so please tell us where you can get it from.
 
Luciano A. Pozzo
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nirmal,

I am not sure if the component that you found is from Sun. So, you should check it. But, I was satisfied by a free Calendar component that I found in the internet. Maybe you can use it. The link is :

Toedter Swing Calendar
[ July 18, 2007: Message edited by: Luciano A. Pozzo ]
 
Campbell Ritchie
Sheriff
Posts: 48441
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. I have come across Toedter before, but haven't needed to use his calendar yet. It is highly recommended in some other sources, too.
 
nirmal Rchavan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the site
/*https://jcalendar.dev.java.net/*/
I am not sure wheather it is form sun or not?
 
Ashok Mor
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's from sun only
 
nirmal Rchavan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am pretty sure that this calenar is from sun.

My question to every one having konwledge of it is,
The dates displayed in the UI according to the days ie (below columns S M T W T F S) are correct, now say a month has 31 days and the 31st falls on a Monday, the next month 1st is displayed on Tuesday of the same month.
Please check it out and let me know is that a BUG OR NOT.
if its a bug then what would be the solution.

Appretiate your help Thanks
 
Campbell Ritchie
Sheriff
Posts: 48441
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the website. I have downloaded the source for future reference.

I don't think it is from Sun, because it is shown as having an Apache license. The screenshots on the website seem to show 31-1-2-3-4-5-6 when the first day of the week is the 31st, so that is presumably an intended display option. Don't know how one can change it, I am afraid.
 
nirmal Rchavan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ritch for the clarification,
I guess i have to go ahead with the toedter code. And let me know if you could in the future help me out in this regard, because i an pretty new to the world of java.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic