type.setSelectedIndex(URI_EMBEDED.equals(f.getUrl()) ? TYPE_EMBEDED : TYPE_REMOTE);
type.setSelectedIndex(URI_EMBEDDED.equals(f.getUrl()) ? TYPE_EMBEDDED : TYPE_REMOTE);
            public void actionPerformed(ActionEvent e) {                Favourite f = (Favourite)favourites.getSelectedValue();                title.setText(f.getName());                username.setText(f.getUsername());                password.setText(f.getPassword());                configuration.setText(f.getConfiguration());                type.setSelectedIndex(URI_EMBEDED.equals(f.getUrl()) ? TYPE_EMBEDED : TYPE_REMOTE);                cur_url.setText(f.getUrl());            }