Hi,
First of all, sorry for my English.
I think that you're wrong because you must to "put" the Type of data.
f.ex:
public void onClick(TYPE VARname){
}
On Aug 11, 12:54 am, "tinyang" <[email protected]> wrote:
> I have a java program I'm working on, and it has a line in it:
>
> public void onClick(guidebtn) {
>
> with this error:
>
> Syntax error on token "guidebtn", VariableDeclaratorId expected after this
> token.
>
> I'm trying to find documentation for the onclick method so I can understand
> the problem, but I'm just not having any luck. I've tried the Sun online
> reference and I've searched the internet at large, but no joy. Can someone
> either please point me to an onClick reference or help me understand what's
> missing and why it needs to be there? Thanks!
>
> --
> :-)
> P Please don't print this e-mail unless you really need to.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---