}
ActionListener retrieveSubmitButtonActionListener() {
return new ActionListener() {
public void actionPerformed(ActionEvent e) {
Ticket t = createTicket();
if (resolveAsRadioButton.isSelected()) {
t.setResolution((String) resolutionsComboBoxModel.getSelectedItem());
} else if (reassignToRadioButton.isSelected()) {
t.setOwner(reassignedUser.getText());
} else if (acceptRadioButton.isSelected()) {
t.setStatus(IntelliTracConfiguration.getInstance().getConfiguration().getString("status_upon_accepting"));
t.setOwner(ApplicationModel.getProject().getComponent(ConfigurationComponent.class).getConnectionSettings().getLogin());
}
try {
gateway.updateTicket(t, commentTextPane.getText());
} catch (ConnectionFailedException e1) {