Ver Mensaje Individual
  #3 (permalink)  
Antiguo 02/03/2011, 15:07
yuo2
 
Fecha de Ingreso: diciembre-2008
Ubicación: PERU
Mensajes: 294
Antigüedad: 15 años, 4 meses
Puntos: 23
Respuesta: ejecutar un metodo en java..?

borre la linea de codigo q tenia esto:
Nota prome = new Nota(txt3);

y puse eso q dices y me marca rojo y sale este mensaje:

Código Javascript:
Ver original
  1. btcal.addActionListener(new Nota());

No enclosing instance of type alumno is accessible. Must qualify the allocation with an enclosing instance of type alumno (e.g. x.new A() where x is an instance of alumno).



y nada =/ .. no resuelvo aun q esta mal..



..