code: public static void showAlignmentImage(MultipleAlignment multAln,
  			String result) {
  
  		JFrame frame = new JFrame();
  
  		String title = multAln.getEnsemble().getAlgorithmName() +
  				" V."+multAln.getEnsemble().getVersion();
  		frame.setTitle(title);
  		frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
  
  		AlignmentTextPanel txtPanel = new AlignmentTextPanel();
  		txtPanel.setText(result);
  
  		JMenuBar menu = MenuCreator.getAlignmentTextMenu(
  				frame,txtPanel,null,multAln);
  
  		frame.setJMenuBar(menu);
  		JScrollPane js = new JScrollPane();
  		js.getViewport().add(txtPanel);
  		js.getViewport().setBorder(null);
  
  		frame.getContentPane().add(js);
  		frame.pack();
  		frame.setVisible(true);
  	}
docs: Creates a new Frame with the String output representation of the
  {@link MultipleAlignment}.
  
  @param multAln
  @param result String output