mails können gelöscht werden

This commit is contained in:
Asecave
2022-01-27 17:43:24 +01:00
parent 7f83467a07
commit 587beb098c
2 changed files with 43 additions and 20 deletions

View File

@@ -99,7 +99,7 @@ public class MyMailGUI extends JFrame implements ActionListener, ListSelectionLi
if( e.getActionCommand().equals("load") ) {
app.getAllMails();
} else if( e.getActionCommand().equals("delete") ) {
//app.deleteMail(jtMaillist.getSelectedRow()+1);
app.deleteMail(mails.get(jtMaillist.getSelectedRow()));
}
}