In my actionPerformed method i'm calling "copy()" who clones objects, but the compiler gives me this error: "java.awt.event.ActionListener; overridden method does not throw java.lang.CloneNotSupportedException", what can i do?
public void actionPerformed(ActionEvent e){
if (e.getSource() instanceof JButton) {
copy(); ...
Thank You