type.setSelectedIndex(URI_EMBEDED.equals(f.getUrl()) ? TYPE_EMBEDED : TYPE_REMOTE);
configuration.setText(f.getConfiguration()); type.setSelectedIndex(URI_EMBEDDED.equals(f.getUrl()) ? TYPE_EMBEDDED : TYPE_REMOTE);
            public void mouseClicked(MouseEvent e) {                super.mouseClicked(e);                if (e.getClickCount() == 2 && favourites.getSelectedIndex() >= 0) {                    Favourite f = (Favourite)favourites.getSelectedValue();                    title.setText(f.getName());                    username.setText(f.getUsername());                    password.setText(f.getPassword());                    type.setSelectedIndex(URI_EMBEDED.equals(f.getUrl()) ? TYPE_EMBEDED : TYPE_REMOTE);                    cur_url.setText(f.getUrl());                }            }