git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check hiddenSequence before placing in tmp
[jalview.git]
/
src
/
jalview
/
gui
/
SequenceFetcher.java
diff --git
a/src/jalview/gui/SequenceFetcher.java
b/src/jalview/gui/SequenceFetcher.java
index
d530b84
..
2beb3d9
100755
(executable)
--- a/
src/jalview/gui/SequenceFetcher.java
+++ b/
src/jalview/gui/SequenceFetcher.java
@@
-1,6
+1,6
@@
/*
\r
* Jalview - A Sequence Alignment Editor and Viewer
\r
/*
\r
* Jalview - A Sequence Alignment Editor and Viewer
\r
- * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
\r
+ * Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
\r
*
\r
* This program is free software; you can redistribute it and/or
\r
* modify it under the terms of the GNU General Public License
\r
*
\r
* This program is free software; you can redistribute it and/or
\r
* modify it under the terms of the GNU General Public License
\r
@@
-386,14
+386,17
@@
public class SequenceFetcher
{
\r
if (alignFrame == null)
\r
{
\r
{
\r
if (alignFrame == null)
\r
{
\r
- AlignFrame af = new AlignFrame(new Alignment(sequences));
\r
+ AlignFrame af = new AlignFrame(new Alignment(sequences),
\r
+ AlignFrame.DEFAULT_WIDTH,
\r
+ AlignFrame.DEFAULT_HEIGHT
\r
+);
\r
af.currentFileFormat = format;
\r
if(title==null)
\r
title = "Retrieved from " + database.getSelectedItem();
\r
Desktop.addInternalFrame(af,
\r
title,
\r
af.currentFileFormat = format;
\r
if(title==null)
\r
title = "Retrieved from " + database.getSelectedItem();
\r
Desktop.addInternalFrame(af,
\r
title,
\r
- AlignFrame.NEW_WINDOW_WIDTH,
\r
- AlignFrame.NEW_WINDOW_HEIGHT);
\r
+ AlignFrame.DEFAULT_WIDTH,
\r
+ AlignFrame.DEFAULT_HEIGHT);
\r
af.statusBar.setText("Successfully pasted alignment file");
\r
\r
try
\r
af.statusBar.setText("Successfully pasted alignment file");
\r
\r
try
\r