Sorry, I copied the code and I forgot the next line:
import java.awt.event.ActionEvent;

but program constains this line and it fails.

greetings

Carlos Alberto Roman Zamitiz
Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM
[EMAIL PROTECTED]

On 27 Oct 1998, Juergen Kreileder wrote:

> >>>>> Dimitris Vyzovitis writes:
> 
>     Dimitris> Juergen Kreileder wrote:
>     >> >>>>> Carlos Alberto Roman Zamitiz writes:
>     >> 
>     Carlos> Hi,
>     Carlos> Here's the code:
>     >> [...]
>     >> 
>     >> Nice code, but it doesn't compile and it has no main method ;-)
> 
>     Dimitris> Well, it will compile if you change ActionEvent into
>     Dimitris> java.awt.event,ActionEvent ;-} 
> 
> Yep, it was easy to fix.
> 
>     Dimitris> Why do you need a main method? You can use a simple stub
>     Dimitris> html file and a wrapper applet class to test it in an
>     Dimitris> applet (that's what I did).
> 
> In some cases it takes more time to get the code from bug reports
> working than it takes to track down and fix the actual problem.
> So it really simplifies things if you post examples that work out of
> the box.
> 
> 
>         Juergen
> 
> 

Reply via email to