tm.setText(title);//
tm.addActionListener(new java.awt.event.ActionListener()
{
+ @Override
public void actionPerformed(ActionEvent e)
{
NewTreePanel(type, (String) pwtype, title);
trimrs.setSelected(Cache.getDefault("TRIM_FETCHED_DATASET_SEQS", true));
trimrs.addActionListener(new ActionListener()
{
+ @Override
public void actionPerformed(ActionEvent e)
{
trimrs.setSelected(trimrs.isSelected());
tabbedPane.setSelectedIndex(alignPanels.indexOf(alignmentPanel));
}
}
+
+ /**
+ * On menu option, open a panel to allow choice of annotation types to
+ * show/hide.
+ */
+ @Override
+ protected void chooseAnnotations_actionPerformed()
+ {
+ new AnnotationChooser(this.alignPanel);
+ }
}
class PrintThread extends Thread