diff --git a/Mage.Client/src/main/java/mage/client/util/gui/countryBox/CountryComboBox.java b/Mage.Client/src/main/java/mage/client/util/gui/countryBox/CountryComboBox.java index 938c9b9a169..5fee4088d09 100644 --- a/Mage.Client/src/main/java/mage/client/util/gui/countryBox/CountryComboBox.java +++ b/Mage.Client/src/main/java/mage/client/util/gui/countryBox/CountryComboBox.java @@ -32,11 +32,12 @@ import javax.swing.JComboBox; /** * A custom combo box with its own renderer and editor. + * * @author wwww.codejava.net * */ public class CountryComboBox extends JComboBox { - + private final DefaultComboBoxModel model; public static String[][] countryList = { @@ -60,6 +61,7 @@ public class CountryComboBox extends JComboBox { {"Bahrain", "bh"}, {"Bangladesh", "bd"}, {"Barbados", "bb"}, + {"Basque", "bq"}, {"Belarus", "by"}, {"Belgium", "be"}, {"Belize", "bz"}, @@ -285,9 +287,8 @@ public class CountryComboBox extends JComboBox { {"Western Sahara", "eh"}, {"Yemen", "ye"}, {"Zambia", "zm"}, - {"Zimbabwe", "zw"}, - }; - + {"Zimbabwe", "zw"},}; + @SuppressWarnings("unchecked") public CountryComboBox() { model = new DefaultComboBoxModel(); @@ -296,12 +297,12 @@ public class CountryComboBox extends JComboBox { setEditor(new CountryItemEditor()); addItems(countryList); } - + /** - * Add an array items to this combo box. - * Each item is an array of two String elements: - * - first element is country name. - * - second element is path of an image file for country flag. + * Add an array items to this combo box. Each item is an array of two String + * elements: - first element is country name. - second element is path of an + * image file for country flag. + * * @param items */ @SuppressWarnings("unchecked") @@ -315,6 +316,5 @@ public class CountryComboBox extends JComboBox { public Object getSelectedItem() { return super.getSelectedItem(); //To change body of generated methods, choose Tools | Templates. } - } diff --git a/Mage.Client/src/main/resources/flags/bq.png b/Mage.Client/src/main/resources/flags/bq.png new file mode 100644 index 00000000000..4e0bc9b9131 Binary files /dev/null and b/Mage.Client/src/main/resources/flags/bq.png differ