import jalview.api.FeatureColourI;
import jalview.api.FeatureSettingsControllerI;
+import jalview.bin.Jalview;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.SequenceI;
import jalview.datamodel.features.FeatureMatcher;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
+import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.GridLayout;
JPanel buttonPanel = new JPanel();
buttonPanel.add(ok);
buttonPanel.add(cancel);
- buttonPanel.add(loadColours);
- buttonPanel.add(saveColours);
+ if (!Jalview.isJS())
+ {
+ /*
+ * no save/load XML in JalviewJS for now
+ */
+ buttonPanel.add(loadColours);
+ buttonPanel.add(saveColours);
+ }
bigPanel.add(scrollPane, BorderLayout.CENTER);
settingsPane.add(bigPanel, BorderLayout.CENTER);
settingsPane.add(buttonPanel, BorderLayout.SOUTH);