import javax.swing.event.MenuEvent;
import javax.swing.event.MenuListener;
+@SuppressWarnings("serial")
public class GAlignFrame extends JInternalFrame
{
protected JMenuBar alignFrameMenuBar = new JMenuBar();
protected JMenuItem closeMenuItem = new JMenuItem();
- protected JMenu webService = new JMenu();
+ public JMenu webService = new JMenu();// BH 2019 was protected, but not
+ // sufficient for AlignFrame thread run
- protected JMenuItem webServiceNoServices;
+ public JMenuItem webServiceNoServices;// BH 2019 was protected, but not
+ // sufficient for AlignFrame thread run
protected JCheckBoxMenuItem viewBoxesMenuItem = new JCheckBoxMenuItem();
protected JMenu sortByAnnotScore = new JMenu();
- protected JLabel statusBar = new JLabel();
+ public JLabel statusBar = new JLabel(); // BH 2019 was protected, but not
+ // sufficient for
+ // AlignFrame.printWriter
protected JMenu outputTextboxMenu = new JMenu();
protected JCheckBoxMenuItem hiddenMarkers = new JCheckBoxMenuItem();
- protected JTabbedPane tabbedPane = jalview.jbgui.GDesktop.createTabbedPane();
+ protected JTabbedPane tabbedPane = jalview.jbgui.GDesktop
+ .createTabbedPane();
protected JMenuItem reload = new JMenuItem();
protected JCheckBoxMenuItem normaliseSequenceLogo = new JCheckBoxMenuItem();
protected JCheckBoxMenuItem applyAutoAnnotationSettings = new JCheckBoxMenuItem();
-
+
protected JMenuItem openFeatureSettings;
private SequenceAnnotationOrder annotationSortOrder;
{
// for Web-page embedding using id=align-frame-div
- setName("align-frame");
+ setName("jalview-alignment");
jbInit();
setJMenuBar(alignFrameMenuBar);
/*
* Translate as cDNA with sub-menu of translation tables
*/
- showTranslation.setText(MessageManager
- .getString("label.translate_cDNA"));
+ showTranslation
+ .setText(MessageManager.getString("label.translate_cDNA"));
boolean first = true;
for (final GeneticCodeI table : GeneticCodes.getInstance()
.getCodeTables())
associatedData_actionPerformed(e);
}
});
- loadVcf = new JMenuItem(MessageManager.getString("label.load_vcf_file"));
+ loadVcf = new JMenuItem(
+ MessageManager.getString("label.load_vcf_file"));
loadVcf.setToolTipText(MessageManager.getString("label.load_vcf"));
loadVcf.addActionListener(new ActionListener()
{