comboBox.addItem(promptEachTimeOpt);
comboBox.addItem(lineArtOpt);
comboBox.addItem(textOpt);
- String defaultOption = Cache.getDefault(propertyKey,
- "Prompt each time");
+
+ /*
+ * JalviewJS doesn't support Lineart so force it to Text
+ */
+ String defaultOption = Jalview.isJS() ? "Text"
+ : Cache.getDefault(propertyKey, "Prompt each time");
if (defaultOption.equalsIgnoreCase("Text"))
{
comboBox.setSelectedItem(textOpt);
outputTab.add(modellerOutput);
if (!Jalview.isJS())
{
+ /*
+ * JalviewJS doesn't support Lineart option or SVG output
+ */
outputTab.add(embbedBioJSON);
- }
- outputTab.add(epsLabel);
- outputTab.add(epsRendering);
- if (!Jalview.isJS())
- {
+ outputTab.add(epsLabel);
+ outputTab.add(epsRendering);
outputTab.add(htmlLabel);
outputTab.add(htmlRendering);
outputTab.add(svgLabel);