Calendar Icon - Online Code

Description

Display one of those standard Calendar Page icons with Weekday,Day & Month. Can be used as an Icon in a JButton. Can include or exclude an updating Clock at the top (invoke constructor with value of true to include). However, it should be excluded when using as an Icon, and true when using as a Component.

Source Code

import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.GridLayout;
import ja
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

santosh deshpande on 2011-02-10 10:43:21 wrote,

It really works
nice yaar.............