I am using eclipse 3.1.1 and the ve plugin. I am using the swing JSpinner
and the spinnerDateModel beans from J2SE 1.4.2 to create a date spinner.
Unfortunately, I am having a problem with eliminating the time in the
date. I want a non-time date only. Someone told me to use a string date
format property or method. I could not find it in the ve bean for
JSpinner. Can someone help me please?

Unfortunately you can't directly set the date format from the Properties
view, because the format isn't a Java bean property of the DateEditor
class (it's specified in the constructor of the class). So you'll need
to edit the code by hand to achieve this. Try something like this:

Richard wrote:
> I am using eclipse 3.1.1 and the ve plugin. I am using the swing
> JSpinner and the spinnerDateModel beans from J2SE 1.4.2 to create a date
> spinner. Unfortunately, I am having a problem with eliminating the time
> in the date. I want a non-time date only. Someone told me to use a
> string date format property or method. I could not find it in the ve
> bean for JSpinner. Can someone help me please?
>

Why the VE implementors have not made all properties of the swing
components accessible in the VE beans? VE would be very robust and you
could it is RAD or Rapid Application Development if they did that.

Richard wrote:
> Why the VE implementors have not made all properties of the swing
> components accessible in the VE beans? VE would be very robust and you
> could it is RAD or Rapid Application Development if they did that.

Have you tried the Show Advanced Properties button in the tool bar of
the Properties view?

Yes. I did. for some strange reason it replaced my JSpinner.DateEditor
instance and the setEditor statements and placed them in the getDateEditor
method. I tried reproduced that effect on another date spinner and I could
not do it.

As I explained in an earlier posting, the JSpinner class (or more
specifically the JSpinner Editor classes) does not follow the Java Beans
spec because some of its properties are specified in the constructor.
Because of this, support for these properties must be custom coded into
the Visual Editor. This hasn't been done for the JSpinner class yet -
but you can open a enhancement request to get support added here: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=VE&b ug_severity=enhancement
In the request specify which features/settings you'd like to set from
the Properties view, that aren't showing up now.

Thanks. I will enter the reguest. In fact, I meke it into the habit of
using eclipse bugzilla database when I when See some thing missing, having
problems or want an enhancement,.., etc. I will do anything to support my
visual or RAD programming. Thanks

Unfortunately you can't directly set the date format from the Properties
view, because the format isn't a Java bean property of the DateEditor
class (it's specified in the constructor of the class). So you'll need
to edit the code by hand to achieve this. Try something like this:

Richard wrote:
> I am using eclipse 3.1.1 and the ve plugin. I am using the swing
> JSpinner and the spinnerDateModel beans from J2SE 1.4.2 to create a date
> spinner. Unfortunately, I am having a problem with eliminating the time
> in the date. I want a non-time date only. Someone told me to use a
> string date format property or method. I could not find it in the ve
> bean for JSpinner. Can someone help me please?
>

Why the VE implementors have not made all properties of the swing
components accessible in the VE beans? VE would be very robust and you
could it is RAD or Rapid Application Development if they did that.

Richard wrote:
> Why the VE implementors have not made all properties of the swing
> components accessible in the VE beans? VE would be very robust and you
> could it is RAD or Rapid Application Development if they did that.

Have you tried the Show Advanced Properties button in the tool bar of
the Properties view?

Yes. I did. for some strange reason it replaced my JSpinner.DateEditor
instance and the setEditor statements and placed them in the getDateEditor
method. I tried reproduced that effect on another date spinner and I could
not do it.

As I explained in an earlier posting, the JSpinner class (or more
specifically the JSpinner Editor classes) does not follow the Java Beans
spec because some of its properties are specified in the constructor.
Because of this, support for these properties must be custom coded into
the Visual Editor. This hasn't been done for the JSpinner class yet -
but you can open a enhancement request to get support added here: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=VE&b ug_severity=enhancement
In the request specify which features/settings you'd like to set from
the Properties view, that aren't showing up now.

Thanks. I will enter the reguest. In fact, I meke it into the habit of
using eclipse bugzilla database when I when See some thing missing, having
problems or want an enhancement,.., etc. I will do anything to support my
visual or RAD programming. Thanks