private static void queryCountry(){
JC_country.addItem("(Choose)");
try {
String query = DBConnect.Select("addr_ref", "country, description",
"region = ''", "country");
Statement stmt = DBConnect.getConnection().createStatement();
ResultSet rs = stmt.executeQuery(query);
while (rs.next()){
JC_country.addItem(rs.getString(1)+"-"+rs.getString(2));
}
rs.close();
stmt.close();
} catch (SQLException e) {
e.printStackTrace();
}
}