jAlias.setText(gallery.getAlias() == null?"":gallery.getAlias());
	public void resetUIState() {		jUsername.setText(gallery.getUsername());		jPassword.setText(gallery.getPassword());		jType.setSelectedIndex(gallery.getType());		String panel = (String) jType.getSelectedItem();		jStyleLayout.show(jStylePanel, panel);		jStandaloneUrl.setText(gallery.getStUrlString());		jPnGalleryUrl.setText(gallery.getPnGalleryUrlString());		jPnLoginUrl.setText(gallery.getPnLoginUrlString());		jPhpnGalleryUrl.setText(gallery.getPhpnGalleryUrlString());		jPhpnLoginUrl.setText(gallery.getPhpnLoginUrlString());	}