import jalview.bin.Cache;
import jalview.datamodel.SequenceGroup;
import jalview.util.MessageManager;
+import jalview.util.Platform;
import jalview.viewmodel.AlignmentViewport;
import java.awt.BorderLayout;
import java.awt.Color;
pasimapBorderless.setOpaque(false); // false -> stops every pixel inside
// border from being painted
pasimapBorderless.add(pasimap, FlowLayout.LEFT); // add pasimap button to
- // the JPanel
- calcChoicePanel.add(pasimapBorderless, FlowLayout.LEFT); // add button with
- // border and
- // everything to
- // the overall
- // ChoicePanel
+ // the JPanel
+ if (!Platform.isJS())
+ {
+ // FIXME JAL-4443
+ calcChoicePanel.add(pasimapBorderless, FlowLayout.LEFT); // add button
+ // with
+ // border and
+ // everything to
+ // the overall
+ // ChoicePanel
+ }
treePanel.add(neighbourJoining);
treePanel.add(averageDistance);
ButtonGroup calcTypes = new ButtonGroup();
calcTypes.add(pca);
- calcTypes.add(pasimap);
+ if (!Platform.isJS()) {
+ // FIXME JAL-4443
+ calcTypes.add(pasimap);
+ }
calcTypes.add(neighbourJoining);
calcTypes.add(averageDistance);
calcTypes.add(pairwise);