\r
\r
if(seq!=null)\r
- {\r
residueMenu.setVisible(false);\r
- sequenceName.setText( sequence.getName() );\r
- }\r
else\r
sequenceMenu.setVisible(false);\r
\r
}\r
});\r
sequenceMenu.setText("Sequence");\r
- sequenceName.setText("sequenceName");\r
+ sequenceName.setText("Edit name");\r
sequenceName.addActionListener(new java.awt.event.ActionListener()\r
{\r
public void actionPerformed(ActionEvent e)\r
String s = (String)JOptionPane.showInternalInputDialog(\r
ap,\r
"Edit sequence name",\r
- "Edit sequence name",\r
+ "Edit sequence name ("+sequence.getName()+")",\r
JOptionPane.PLAIN_MESSAGE,\r
null,\r
null,\r