{
Desktop.instance.stopLoading();
System.err.println("The input file \"" + file
- + "\" has no data content!");
+ + "\" has null or unidentifiable data content!");
if (!Jalview.isHeadlessMode())
{
- JOptionPane.showMessageDialog(null, "The input file \""
- + file + "\" has no data content!", "Empty data file",
- JOptionPane.ERROR_MESSAGE);
+ javax.swing.JOptionPane.showInternalMessageDialog(
+ Desktop.desktop,
+ MessageManager.getString("label.couldnt_read_data")
+ + " in " + file + "\n"
+ + AppletFormatAdapter.SUPPORTED_FORMATS,
+ MessageManager.getString("label.couldnt_read_data"),
+ JOptionPane.WARNING_MESSAGE);
}
return;
}
{
sq = sq.getDatasetSequence();
}
- if (sq.getPDBId() != null)
+ if (sq.getAllPDBEntries() != null)
{
- for (PDBEntry pdbe : sq.getPDBId())
+ for (PDBEntry pdbe : sq.getAllPDBEntries())
{
// register PDB entries with desktop's structure selection
// manager