org.apache.jmeter.gui.util

Class JDateField


public class JDateField
extends JTextField

This is Date mask control. Using this control we can pop up our date in the text field. And this control is Devloped basically for JDK1.3 and lower version support. This control is similer to JSpinner control this is available in JDK1.4 and above only.

This will set the date "yyyy/MM/dd HH:mm:ss" in this format only.

Constructor Summary

JDateField()
JDateField(Date date)
Create a DateField with the specified date.

Method Summary

Date
getDate()
Get the date from the Date mask control.
void
setDate(Date date)
Set the date to the Date mask control.

Constructor Details

JDateField

public JDateField()

JDateField

public JDateField(Date date)
Create a DateField with the specified date.

Method Details

getDate

public Date getDate()
Get the date from the Date mask control.

setDate

public void setDate(Date date)
Set the date to the Date mask control.

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.