Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » How do I display a text box as password?
How do I display a text box as password? [message #1754776] Wed, 22 February 2017 10:02 Go to next message
Jens Rabe is currently offline Jens RabeFriend
Messages: 81
Registered: September 2013
Is it possible to display a text box from a property editor as a password, i.e., having the stuff the user enters replaced by dots or stars?
Re: How do I display a text box as password? [message #1754813 is a reply to message #1754776] Wed, 22 February 2017 16:16 Go to previous message
Shenxue Zhou is currently offline Shenxue ZhouFriend
Messages: 60
Registered: July 2009
Sapphire does have an annotation for that. See the following example:

// *** Password ***
@Label( standard = "&password" )
ValueProperty PROP_PASSWORD = new ValueProperty( TYPE, "Password" );

Value<String> getPassword();
void setPassword( String value );

Previous Topic:checkbox.layout hint is ignored [SOLVED]
Next Topic:XML serialization not always maintaining order of fields in sapphire pojos
Goto Forum:

Current Time: Wed Nov 29 19:50:02 GMT 2023

Powered by FUDForum. Page generated in 0.03137 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top