JMenuItem findMenuItem = new JMenuItem();\r
JMenu searchMenu = new JMenu();\r
protected JCheckBoxMenuItem abovePIDThreshold = new JCheckBoxMenuItem();\r
+ protected JCheckBoxMenuItem secondaryStructure = new JCheckBoxMenuItem();\r
public GAlignFrame()\r
{\r
try\r
abovePIDThreshold_actionPerformed(e);\r
}\r
});\r
+ secondaryStructure.setSelected(true);\r
+ secondaryStructure.setText("Secondary Structure");\r
+ secondaryStructure.addActionListener(new ActionListener()\r
+ {\r
+ public void actionPerformed(ActionEvent actionEvent)\r
+ {\r
+ secondaryStructure_actionPerformed(actionEvent);\r
+ }\r
+ });\r
alignFrameMenuBar.add(fileMenu);\r
alignFrameMenuBar.add(editMenu);\r
alignFrameMenuBar.add(searchMenu);\r
viewMenu.add(renderGapsMenuItem);\r
viewMenu.add(consensusGraphMenuItem);\r
viewMenu.add(overviewMenuItem);\r
+ viewMenu.add(secondaryStructure);\r
colourMenu.add(noColourmenuItem);\r
colourMenu.add(clustalColour);\r
colourMenu.add(zappoColour);\r
\r
}\r
\r
+ public void secondaryStructure_actionPerformed(ActionEvent actionEvent)\r
+ {\r
+\r
+ }\r
}\r
BorderLayout borderLayout7 = new BorderLayout();
JPanel jPanel1 = new JPanel();
FlowLayout flowLayout1 = new FlowLayout();
+ JPanel jPanel3 = new JPanel();
+ protected JPanel secondaryPanelHolder = new JPanel();
+ BorderLayout borderLayout8 = new BorderLayout();
+ BorderLayout borderLayout9 = new BorderLayout();
public GAlignmentPanel()
{
jPanel1.setLayout(flowLayout1);
flowLayout1.setHgap(0);
flowLayout1.setVgap(0);
- sequenceHolderPanel.add(scorePanelHolder, BorderLayout.SOUTH);
+ jPanel3.setLayout(borderLayout9);
+ secondaryPanelHolder.setBackground(Color.cyan);
+ secondaryPanelHolder.setLayout(borderLayout8);
sequenceHolderPanel.add(scalePanelHolder, BorderLayout.NORTH);
sequenceHolderPanel.add(seqPanelHolder, BorderLayout.CENTER);
this.add(jPanel2, BorderLayout.CENTER);
jPanel2.add(sequenceHolderPanel, BorderLayout.CENTER);
seqPanelHolder.add(vscroll, BorderLayout.EAST);
+ sequenceHolderPanel.add(jPanel3, BorderLayout.SOUTH);
+ jPanel3.add(scorePanelHolder, BorderLayout.CENTER);
+ jPanel3.add(secondaryPanelHolder, BorderLayout.SOUTH);
this.add(idPanelHolder, BorderLayout.WEST);
idPanelHolder.add(idSpaceFillerPanel1, BorderLayout.NORTH);
idPanelHolder.add(idSpaceFillerPanel, BorderLayout.SOUTH);