Applet Code
import java.applet.*;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import com.standbysoft.component.date.swing.JDatePicker;
public class GeneralDemo_2 extends Applet
{
private JDatePicker datePicker;
public void init()
{
datePicker = new JDatePicker();
setLayout(new GridBagLayout());
add(datePicker, new GridBagConstraints(0, 7, 1, 1, 0.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 5, 5), 0, 0));
}
}
HTML Code
Make sure you have the jdatepicker.jar in the same location as your .class and html Good Luck