File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/main/java/delete_flashcardset_use_case Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
package delete_flashcardset_use_case ;
2
2
3
- import entityRequestModels . UserDsRequestModel ;
3
+
4
4
import loginAndSignupUseCase .UserLoginResponseModel ;
5
5
6
6
import javax .swing .*;
@@ -24,10 +24,10 @@ public class DeletionScreen extends JFrame implements ActionListener {
24
24
*/
25
25
DelFlashcardSetController controller ;
26
26
27
- /**
28
- * The application
29
- */
30
- JFrame application ; // need this variable to only close the application and not the whole program
27
+ // /**
28
+ // * The application
29
+ // */
30
+ // JFrame application; // need this variable to only close the application and not the whole program
31
31
32
32
/**
33
33
* A window with a title and a JButton.
@@ -72,7 +72,7 @@ public void actionPerformed(ActionEvent evt) {
72
72
73
73
// Exit deletion screen if user cancels deletion
74
74
if (Objects .equals (evt .getActionCommand (), "Cancel" )) {
75
- application .dispose ();
75
+ this .dispose ();
76
76
}
77
77
78
78
else { // Delete was pressed
You can’t perform that action at this time.
0 commit comments