}
public void valueChanged(ListSelectionEvent e)
{
PluginInfo i = (PluginInfo)jlPlugins.getSelectedValue();
IPlugin p = PluginManager.getInstance().getPluginByName(i.getName());
jlName.setText(i.getName());
jlVersion.setText(i.getVersion());
jlInstalledVersion.setText((p != null) ? p.getVersion() : "");
jlDescription.setText(i.getDescription());
if (p != null) {
int c = VersionParser.compare(i.getVersion(), p.getVersion());
acInstall.setEnabled(c != 0);
}
else {
acInstall.setEnabled(true);
}