Código:
agradesco de antemano la atencion y quedo en espera salu2 public void CargarSeriesDisponibles(){
ConexionMySQL ConexionMysql = new ConexionMySQL();
Connection cn = ConexionMysql.Conectar();
String[] registro = new String[2];
try{
Statement stTallasDisponibles = cn.createStatement();
ResultSet rsTallasDisponibles = stTallasDisponibles.executeQuery("select ID_CORRIDA,SERIE from SERIES_CORRIDAS as t1 left outer join TEMP_ART as t2 on t1.ID_CORRIDA = t2.ID_SERTAL where t1.ID_CORRIDA is null or t2.ID_SERTAL is null order by SERIE");
while(rsTallasDisponibles.next()){
registro [0] = rsTallasDisponibles.getString("ID_CORRIDA");
registro [1] = rsTallasDisponibles.getString("SERIE");
TallasDisponibles = new JList(registro);
}
TallasDisponibles.setCellRenderer(new DefaultListCellRenderer(){
public java.awt.Component getListCellRendererComponent()
{
return this;
};
});
}
catch(Exception e){
JOptionPane.showMessageDialog(null, e);
}
}


