This commit is contained in:
2015-02-27 10:52:26 +01:00
parent 18b9510f04
commit 43e2dca06e
6 changed files with 49 additions and 23 deletions
+5 -5
View File
@@ -270,7 +270,7 @@ public class EditEventPanel extends JFrame{
JOptionPane.showMessageDialog(null, "Event edited!");
setVisible(false);
dispose();
Window.updatePanel("table");
Window.updatePanel();
if(tab != null)
{
tab.setVisible(false);
@@ -296,7 +296,7 @@ public class EditEventPanel extends JFrame{
remove.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e) {
public void actionPerformed(ActionEvent f) {
if(JOptionPane.showConfirmDialog(null, "Are you sure you want to remove this event?", "Remove Event", JOptionPane.YES_NO_OPTION) == JOptionPane.OK_OPTION)
{
@@ -313,11 +313,11 @@ public class EditEventPanel extends JFrame{
JOptionPane.showMessageDialog(null, "Event removed!");
setVisible(false);
dispose();
Window.updatePanel("table");
Window.updatePanel();
if(tab != null)
{
tab.setVisible(false);
tab.dispose();
tab.setVisible(false);
tab.dispose();
}
}
}