//Ya tengo creada la conexion correctamente
st = conexion.createStatement();
for (int i = 0; i < comboBox.getItemCount(); i++) {
String j = (String) comboBox.getItemAt(i);
int z = Integer.parseInt(j);
result = st.executeQuery("select * from tabla");
while(result.next()){
int n=res.getInt("numero");
if (z==n){ //Si el numero es el mismo, comprobamos si libre
if (!disponible(n)){
comboBox.removeItem(comboBox.getItemAt(i));
}
}//Fin if z==n
}//fin While
}//Fin for