}catch(Exception ex){}\r
}\r
\r
- ArrayList historyList = new ArrayList();\r
- ArrayList redoList = new ArrayList();\r
+ Stack historyList = new Stack();\r
+ Stack redoList = new Stack();\r
\r
void updateEditMenuBar()\r
{\r
\r
protected void pasteThis_actionPerformed(ActionEvent e)\r
{\r
+ addHistoryItem("Paste");\r
paste(false);\r
}\r
\r
\r
protected void delete_actionPerformed(ActionEvent e)\r
{\r
+ addHistoryItem("Delete");\r
if (viewport.getRubberbandGroup() == null)\r
return;\r
\r