File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Build a Calendar using Swing

 
Renjith mohanan
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
I am new in Java Swing Programming.

I need to build a calendar (especially for date picker) using swing.

Do any one have an idea, please help me.......................



Thanks In advance.
Renjith M
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Renjith tvm",
Please check your private messages for an important administrative matter.
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the GregorianCalendar class. You will find it useful for all kinds of stuff such as finding out the days in a particular month, day date relation etc.
You will need a panel with a grid layout to emulate the calendar layout. You can add labels/buttons to this grid, depending on your functionality.
 
Renjith mohanan
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Maneesh,
But I think it will take time to build such a calendar from scratch. I want to use this calendar in other pages also.
Do you have any built-in programs or JCalendar, something to do my work as fast as possible.

Renjith
 
Rob Spoor
Sheriff
Pie
Posts: 20372
44
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
T.V.M Renjith wrote:or JCalendar

If you search Google for that exact word, you will find what you're looking for.
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
T.V.M Renjith wrote:But I think it will take time to build such a calendar from scratch. I want to use this calendar in other pages also.


I thought you said you wanted to build it
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic