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
JAL-3757 JAL-3689 use AppletFormat.checkProtocol to resolve startup file’s retrieval...
[jalview.git]
/
src
/
jalview
/
gui
/
CalculationChooser.java
diff --git
a/src/jalview/gui/CalculationChooser.java
b/src/jalview/gui/CalculationChooser.java
index
f0d9521
..
336a312
100644
(file)
--- a/
src/jalview/gui/CalculationChooser.java
+++ b/
src/jalview/gui/CalculationChooser.java
@@
-271,9
+271,9
@@
public class CalculationChooser extends JPanel
setMinimumSize(new Dimension(325, height - 10));
String title = MessageManager.getString("label.choose_calculation");
setMinimumSize(new Dimension(325, height - 10));
String title = MessageManager.getString("label.choose_calculation");
- if (af.getViewport().viewName != null)
+ if (af.getViewport().getViewName() != null)
{
{
- title = title + " (" + af.getViewport().viewName + ")";
+ title = title + " (" + af.getViewport().getViewName() + ")";
}
Desktop.addInternalFrame(frame, title, width, height, false);
}
Desktop.addInternalFrame(frame, title, width, height, false);
@@
-584,7
+584,13
@@
public class CalculationChooser extends JPanel
JvOptionPane.WARNING_MESSAGE);
return;
}
JvOptionPane.WARNING_MESSAGE);
return;
}
+
+ /*
+ * construct the panel and kick off its calculation thread
+ */
pcaPanel = new PCAPanel(af.alignPanel, modelName, params);
pcaPanel = new PCAPanel(af.alignPanel, modelName, params);
+ new Thread(pcaPanel).start();
+
}
/**
}
/**