JMenuItem pasteNew = new JMenuItem();\r
JMenuItem pasteThis = new JMenuItem();\r
protected JCheckBoxMenuItem applyToAllGroups = new JCheckBoxMenuItem();\r
- JMenuItem createJPG = new JMenuItem();\r
+ JMenuItem createPNG = new JMenuItem();\r
protected JMenuItem font = new JMenuItem();\r
protected JCheckBoxMenuItem fullSeqId = new JCheckBoxMenuItem();\r
+ JMenuItem epsFile = new JMenuItem();\r
public GAlignFrame()\r
{\r
\r
applyToAllGroups_actionPerformed(e);\r
}\r
});\r
- createJPG.addActionListener(new java.awt.event.ActionListener()\r
+ createPNG.addActionListener(new java.awt.event.ActionListener()\r
{\r
public void actionPerformed(ActionEvent e)\r
{\r
- createJPG_actionPerformed(e);\r
+ createPNG_actionPerformed(e);\r
}\r
});\r
- createJPG.setText("Save as JPG Image");\r
+ createPNG.setActionCommand("Save as PNG Image");\r
+ createPNG.setText("Save as PNG Image");\r
font.setText("Change Font");\r
font.addActionListener(new java.awt.event.ActionListener()\r
{\r
fullSeqId_actionPerformed(e);\r
}\r
});\r
+ epsFile.setText("Save as EPS file");\r
+ epsFile.addActionListener(new java.awt.event.ActionListener()\r
+ {\r
+ public void actionPerformed(ActionEvent e)\r
+ {\r
+ epsFile_actionPerformed(e);\r
+ }\r
+ });\r
alignFrameMenuBar.add(fileMenu);\r
alignFrameMenuBar.add(editMenu);\r
alignFrameMenuBar.add(searchMenu);\r
fileMenu.add(saveAlignmentMenu);\r
fileMenu.add(outputTextboxMenu);\r
fileMenu.add(htmlMenuItem);\r
- fileMenu.add(createJPG);\r
+ fileMenu.add(epsFile);\r
+ fileMenu.add(createPNG);\r
fileMenu.add(printMenuItem);\r
fileMenu.addSeparator();\r
fileMenu.add(closeMenuItem);\r
\r
}\r
\r
- protected void createJPG_actionPerformed(ActionEvent e)\r
+ protected void createPNG_actionPerformed(ActionEvent e)\r
{\r
\r
}\r
\r
}\r
\r
+ protected void epsFile_actionPerformed(ActionEvent e)\r
+ {\r
+\r
+ }\r
+\r
\r
\r
}\r