JAL-3116 parse EMBL XML with JAXB (todo: update unit tests)
[jalview.git] / src / jalview / gui / CalculationChooser.java
index 886762a..183419e 100644 (file)
@@ -169,7 +169,7 @@ public class CalculationChooser extends JPanel
     JPanel treePanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
     treePanel.setOpaque(false);
 
-    JvSwingUtils.createItalicTitledBorder(treePanel,
+    JvSwingUtils.createTitledBorder(treePanel,
             MessageManager.getString("label.tree"), true);
 
     // then copy the inset dimensions for the border-less PCA panel
@@ -270,9 +270,9 @@ public class CalculationChooser extends JPanel
 
     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);