String msg = "<html><body width=\"300px\">" +
MessageFormat.format(bundle.getString("DEPENDANCY_INSTALL_WARNING"),
new Object[] {selected[tab].name}) + "\n";
ArrayList installList = new ArrayList();
for(int i=0; i<pkgList.size(); i++) {
PackageEntry curr = pkgList.get(i);
if(!pkgMgr.isInstalled(curr)) {
if(!curr.id.equals(selected[tab].id)) {
msg += "\n" + curr.name;
}
installList.add(curr.getDownloadUrl());
}
}
if(installList.size()>1) {
if(JOptionPane.showConfirmDialog(rootPane, msg,
bundle.getString("WARNING"), JOptionPane.OK_CANCEL_OPTION,