private void setVersions(final List<? extends Version> versions) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
DefaultListModel model = new DefaultListModel();
model.addElement(new LatestStable());
if (application.hasSnapshots()) {
model.addElement(new LatestSnapshot());
}
for (Version version : versions) {
model.addElement(version);