From b69797861467347e82c99f9a5ed9045a8d57c768 Mon Sep 17 00:00:00 2001 From: Vikramb987 <47336882+Vikramb987@users.noreply.github.com> Date: Fri, 12 Apr 2019 08:41:35 -0600 Subject: [PATCH] Update TaipanShopGUI.java removed the comment "//quitButton.setDefaultButton(true);", not sure who commented that in but doesn't seem necessary --- src/gui/TaipanShopGUI.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/TaipanShopGUI.java b/src/gui/TaipanShopGUI.java index 9cf6aac..747c0bd 100644 --- a/src/gui/TaipanShopGUI.java +++ b/src/gui/TaipanShopGUI.java @@ -115,7 +115,6 @@ public class TaipanShopGUI extends Player { loanButton.setVisible(false); armsButton.setVisible(false); quitButton.setVisible(true); - //quitButton.setDefaultButton(true); opiumButton.setVisible(false); silkButton.setVisible(false); numberInput.setVisible(false); @@ -129,7 +128,6 @@ public class TaipanShopGUI extends Player { cargoButton.setVisible(true); loanButton.setVisible(true); quitButton.setVisible(true); - //quitButton.setDefaultButton(true); opiumButton.setVisible(false); silkButton.setVisible(false); numberInput.setVisible(false); @@ -144,7 +142,6 @@ public class TaipanShopGUI extends Player { loanButton.setVisible(true); numberInput.setVisible(false); quitButton.setVisible(true); - //quitButton.setDefaultButton(true); opiumButton.setVisible(false); silkButton.setVisible(false); generalButton.setVisible(false);