downloadTable.getSelectionModel().addListSelectionListener(this);
taskList.getSelectionModel().addListSelectionListener(this);
tableSorter = TableComparatorChooser.install(downloadTable, downloads, TableComparatorChooser.MULTIPLE_COLUMN_MOUSE_WITH_UNDO, downloadFormat);
LookAndFeelModel lookModel = Model.getApplicationSettings().getLookModel();
lookMenu = new JMenu("Look And Feel", false);
ButtonGroup lookGroup = new ButtonGroup();
for (String name : lookModel.getLookAndFeels().keySet()) {
JRadioButtonMenuItem button = new JRadioButtonMenuItem(name);
lookMenu.add(button);
lookGroup.add(button);
if (name.equals(lookModel.getLookAndFeel())) {
button.setSelected(true);
}
button.setActionCommand(name);
}
viewMenu.add(lookMenu);