You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Felix Schumacher <fe...@internetallee.de> on 2014/11/27 20:37:03 UTC

JDateField

Hi all,

on my quest to fill in param and return tags -- anyone annoyed already? 
-- I found a comment at the beginning of 
org.apache.jmeter.gui.util.JDateField stating:

"...
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.
..."

The object is used in ThreadGroupGui only. Do we still need it, or could 
it be replaced by a JSpinner as indicated in the javadoc?

Regards
  Felix

Re: JDateField

Posted by Philippe Mouawad <ph...@gmail.com>.
Hi,
+1 for dropping it and following sebb advice regarding JSpinner


Regards

On Thu, Nov 27, 2014 at 10:37 PM, sebb <se...@gmail.com> wrote:

> On 27 November 2014 at 19:37, Felix Schumacher
> <fe...@internetallee.de> wrote:
> > Hi all,
> >
> > on my quest to fill in param and return tags -- anyone annoyed already?
> -- I
> > found a comment at the beginning of org.apache.jmeter.gui.util.JDateField
> > stating:
> >
> > "...
> > 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.
> > ..."
> >
> > The object is used in ThreadGroupGui only. Do we still need it, or could
> it
> > be replaced by a JSpinner as indicated in the javadoc?
>
> It's not exactly the same as a JSpinner, but that is reasonably close.
>
> I think we can drop the class.
>
> However, I don't think we should necessarily update ThreadGroupGui to
> use JSpinner instead.
> This is because it prevents the use of variables to specify the start
> and end times.
> It might be better to use a plain text field.
> Or perhaps use a separate spinner to create the date/time and have a
> button to copy it to the approriate field.
>
> > Regards
> >  Felix
>



-- 
Cordialement.
Philippe Mouawad.

Re: JDateField

Posted by sebb <se...@gmail.com>.
On 27 November 2014 at 19:37, Felix Schumacher
<fe...@internetallee.de> wrote:
> Hi all,
>
> on my quest to fill in param and return tags -- anyone annoyed already? -- I
> found a comment at the beginning of org.apache.jmeter.gui.util.JDateField
> stating:
>
> "...
> 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.
> ..."
>
> The object is used in ThreadGroupGui only. Do we still need it, or could it
> be replaced by a JSpinner as indicated in the javadoc?

It's not exactly the same as a JSpinner, but that is reasonably close.

I think we can drop the class.

However, I don't think we should necessarily update ThreadGroupGui to
use JSpinner instead.
This is because it prevents the use of variables to specify the start
and end times.
It might be better to use a plain text field.
Or perhaps use a separate spinner to create the date/time and have a
button to copy it to the approriate field.

> Regards
>  Felix