The HTML for the applet tag is <APPLET CODE="mseries.CalendarAWT.TestApplet" ARCHIVE="MDateSelectorAWT.jar" WIDTH="115" HEIGHT="21"></APPLET> |
|||||
MDateEntryField is shown below in an applet |
The source code for the applet is package mseries.CalendarAWT;
import java.applet.Applet;
import java.awt.*;
import java.util.Calendar;
public class TestApplet extends Applet
{
public void init()
{
setLayout(new FlowLayout(FlowLayout.LEFT, 0, 0));
setBackground(Color.white);
MDateEntryField display = new MDateEntryField(12);
MDefaultPullDownConstraints c=new MDefaultPullDownConstraints();
c.firstDay = Calendar.MONDAY;
display.setConstraints(c);
add(display);
}
} |
||||
|