Skip to content
Snippets Groups Projects
Commit 504cb4b4 authored by tjc's avatar tjc
Browse files

report java 1.6 + is needed

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@14884 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 06a575de
Branches
Tags
No related merge requests found
......@@ -147,7 +147,6 @@ public class VCFview extends JPanel
Hashtable<String, Integer> offsetLengths = null;
private boolean concatSequences = false;
private Point lastMousePoint;
private Pattern multiAllelePattern = Pattern.compile("^[AGCT]+,[AGCT,]+$");
private static Pattern tabPattern = Pattern.compile("\t");
......@@ -193,6 +192,12 @@ public class VCFview extends JPanel
tr[i] = new TabixReader(vcfFiles.get(i));
}
}
catch(java.lang.UnsupportedClassVersionError err)
{
JOptionPane.showMessageDialog(null,
"This requires Java 1.6 or higher.",
"Check Java Version", JOptionPane.WARNING_MESSAGE);
}
catch (IOException e)
{
e.printStackTrace();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment