Calendar Library for your JavaSE program

Here is an awesome Calendar library for your JavaSE software created by me (Praneeth Nilanga Peiris).

 

View album
GnomezCalendar

View album View album      

 

Preview

Capture

Feel free to download and give me feedbacks..

Download GnomezCalendar from here..

http://www.mediafire.com/download.php?9f7afe2bb6mmwa4

 

Here is a sample code:

NOTE : Make sure that you have added AbsoluteLayout to the CLASSPATH. (In NetBeans, you can simply add it as a library.)

And the parent container of this module MUST be having BorderLayout.

import gnome.cal.GnomezCalendar;
import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class DemoCalendar extends JFrame{
 public DemoCalendar(){
  super("MyCalendar Demo");
  setSize(300, 300);
  setLocationRelativeTo(null);
  setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

  JPanel calendarPanel = new JPanel(new BorderLayout());
  GnomezCalendar myCalendar = new GnomezCalendar();
  calendarPanel.add(myCalendar.getCalendar());
  add(calendarPanel);
 }
 public static void main(String[] args) {
  new DemoCalendar().setVisible(true);
 }
}

03 comments on “Calendar Library for your JavaSE program

Leave a Reply