Added remove and edit capability.

This commit is contained in:
2015-02-26 19:35:54 +01:00
parent e001163a74
commit 1a3e8871a6
7 changed files with 665 additions and 8 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ public class PanelArtSta extends JPanel implements Panel{
if (artists.getSelectedIndex() == -1) {
} else {
JOptionPane.showMessageDialog(null, "Artist Selected: " + a.getArtists().get(artists.getSelectedIndex()));
new EditArtistPanel(w.getAgenda(), a.getArtists().get(artists.getSelectedIndex()));
artists.clearSelection();
}
}
@@ -54,7 +54,7 @@ public class PanelArtSta extends JPanel implements Panel{
if (stages.getSelectedIndex() == -1) {
} else {
JOptionPane.showMessageDialog(null, "Stage Selected: " + a.getStages().get(stages.getSelectedIndex()));
new EditStagePanel(w.getAgenda(), a.getStages().get(stages.getSelectedIndex()));
stages.clearSelection();
}
}