public void init()
{
setMenuBar(null);
- outermost = new Panel();
- outermost.setLayout(new GridLayout(2, 1));
+ outermost = new Panel(new GridLayout(2, 1));
Panel topPanel = new Panel();
Panel bottomPanel = new Panel();
final AlignViewport bottomViewport = bottomFrame.viewport;
final AlignmentI topAlignment = topViewport.getAlignment();
final AlignmentI bottomAlignment = bottomViewport.getAlignment();
- // topAlignment.setDataset(null);
- // bottomAlignment.setDataset(null);
AlignViewport cdna = topAlignment.isNucleotide() ? topViewport
: (bottomAlignment.isNucleotide() ? bottomViewport : null);
AlignViewport protein = !topAlignment.isNucleotide() ? topViewport
: (!bottomAlignment.isNucleotide() ? bottomViewport : null);
+
MappingResult mapped = AlignmentUtils.mapProteinToCdna(
protein.getAlignment(), cdna.getAlignment());
if (mapped != MappingResult.NotMapped)