Here is an awesome Calendar library for your JavaSE software created by me (Praneeth Nilanga Peiris).
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); } }
Nice work. It’s better if you can provide an API to manipulate calendar controls. Hope this will be available open source ๐
*thumbs up*
Added the API. But still not Open Source ๐ .But FREE… ๐
Good job bro! keep it up ๐