Skip to main content

JNForm: how to switch off default 'info widget'

3 replies [Last post]
thughes
Offline
Joined: 2006-02-17

When I create a JNForm, each component in the form has a default little blue circular widget with an 'i', which displays metadata for that component. Is there a way I can change this to display data of my choosing, or at least turn it off, as the default information is confusing for the user (who wants to know what a "java.lang.String" is) ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Amy Fowler

jdnc-interest@javadesktop.org wrote:

> When I create a JNForm, each component in the form has a default little blue circular widget with an 'i', which displays metadata for that component. Is there a way I can change this to display data of my choosing, or at least turn it off, as the default information is confusing for the user (who wants to know what a "java.lang.String" is) ?

All valid issues/requests. To start with, user messages should NEVER contain
strings like "java.lang.String" :-) This was just a quick and dirty approach
to gleeming the info straight from the MetaData object and we've always intended
to revise it.

Aim

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

Kleopatra

jdnc-interest@javadesktop.org wrote:

> Is there a way I can change this to display data of my choosing,
> or at least turn it off, as the default
> information is confusing for the user (who wants to know what a
> "java.lang.String" is) ?

currently nothing out-of-the-box. But it's a good idea to make it
customizable, may I suggest that you file an RFE issue?

Until this feature is implemented (it will ): The class responsible
to show the message is BindingBorder - you can change it to use a
different message text, f.i. look for some custom property set in the
metaData.

Greetings
Jeanette

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

thughes
Offline
Joined: 2006-02-17

thanks for your help, I will submit a request.....