exe.setSourcesLocation( sourcesField.getText() );
Preferences p = preferences();
p.put( "author", authorField.getText() );
p.put( "email", emailField.getText() );
p.put( "login", loginField.getText() );
Npm npm = Npm.getDefault();
String s = npmField.getText().trim();
if (!s.isEmpty()) {
// will not actually change it unless modified and exists
npm.setExePath( s );
}
try {
p.flush();
} catch ( BackingStoreException ex ) {
Exceptions.printStackTrace( ex );