Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/07/2011, 02:37
Avatar de chuidiang
chuidiang
Colaborador
 
Fecha de Ingreso: octubre-2004
Mensajes: 3.774
Antigüedad: 19 años, 7 meses
Puntos: 454
Respuesta: getLabel() me sale tachado, porque?

No, con api me refiero a esta página http://download.oracle.com/javase/6/docs/api/ Si buscas JButton y el método getLabel(), te dice que está obsoleto y cual usar, (este es el copy-paste)

Cita:
getLabel

@Deprecated
public String getLabel()
Deprecated. - Replaced by getText
Returns the label text.
Returns:
a String containing the label
Se bueno.
__________________
Apuntes Java
Wiki de Programación