From ef15fef72c9ee86d88a6fd73499094a7fbf4d4d6 Mon Sep 17 00:00:00 2001
From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04>
Date: Wed, 6 Apr 2011 10:36:20 +0000
Subject: [PATCH] change to FileViewer to save

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@15874 ee4ac58c-ac51-4696-9907-e4b3aa274f04
---
 uk/ac/sanger/artemis/components/alignment/BamUtils.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/uk/ac/sanger/artemis/components/alignment/BamUtils.java b/uk/ac/sanger/artemis/components/alignment/BamUtils.java
index b786157bc..09c10684b 100644
--- a/uk/ac/sanger/artemis/components/alignment/BamUtils.java
+++ b/uk/ac/sanger/artemis/components/alignment/BamUtils.java
@@ -99,9 +99,8 @@ class BamUtils
     }
 
     StringBuffer buff = new StringBuffer();
-    buff.append("\t");
     for(String bam : bamList)
-      buff.append(bam+"\t");
+      buff.append("#BAM: "+bam+"\n");
     buff.append("\n");
     
     for (String fId : featureReadCount.keySet() ) {
@@ -112,7 +111,7 @@ class BamUtils
       buff.append("\n");
     }
 
-    FileViewer viewer = new FileViewer ("Read Count", true);
+    FileViewer viewer = new FileViewer ("Read Count", true, false, true);
     viewer.getTextPane().setText(buff.toString());
   }
 
-- 
GitLab