Skip to content

Commit

Permalink
[Refactoring] Change dispose() to setVisible(false) in ExitProgramCom…
Browse files Browse the repository at this point in the history
…mand.java
  • Loading branch information
jjunjji committed Jun 3, 2023
1 parent 67f050f commit 28e4013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExitProgramCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public ExitProgramCommand(ControlDeskView theView) {

@Override
public void execute() {
theView.getWin().dispose();
theView.getWin().setVisible(false);
System.exit(0);
}
}

0 comments on commit 28e4013

Please sign in to comment.