- JvOptionPane.showInternalMessageDialog(Desktop.desktop,
- MessageManager.formatMessage(
- "label.pdb_entries_couldnt_be_retrieved", new String[]
- { errormsgs.toString() }),
- MessageManager.getString("label.couldnt_load_file"),
- JvOptionPane.ERROR_MESSAGE);
- }
- return files;
- }
-
- /**
- * Outputs the Jmol viewer image as an image file, after prompting the user to
- * choose a file and (for EPS) choice of Text or Lineart character rendering
- * (unless a preference for this is set)
- *
- * @param type
- */
- @Override
- public void makePDBImage(ImageMaker.TYPE type)
- {
- int width = getWidth();
- int height = getHeight();
- ImageWriterI writer = new ImageWriterI()
- {
- @Override
- public void exportImage(Graphics g) throws Exception