Aqui no me da error, pero quiero añadir dat junto a arr:
public void guardarDatos(int l,int c, String arr,String dat){
if(c<=4){
jp3.remove(ju[c]);
}
ju[c+5] = new JLabel((String) arr);
ju[c+5].setBounds(20, l, 450, 30);
jp3.add(ju[c+5]);
}
Aquí ya me da error, no se como debería poner
public void guardarDatos(int l,int c, String arr,String dat){
if(c<=4){
jp3.remove(ju[c]);
}
ju[c+5] = new JLabel((String) arr, (String) dat);
ju[c+5].setBounds(20, l, 450, 30);
jp3.add(ju[c+5]);
}