You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by he...@gmail.com on 2020/10/15 19:16:37 UTC

[NB Module] How to create a module that plays a sound whenever the Java parser detects an error

Greetings:

 

I hope that you and all your loved ones are safe and healthy.  I write to
you because I have spent days scouring over the documentation trying to find
out how could I create a Netbeans module that plays a feedback sound
whenever the user makes a syntax mistake when typing (Java) code.  All
documentation I have read requires me to create my own Java lexer and
parser, which I think can be avoided if I could just piggyback on the
built-in Java parser and install a listener or something somewhere (I don't
know!) that allows me to playback the sound when a parsing error is
detected.  Please help!  This is for my doctoral dissertation.

 

Best regards,

Henry F. Bruckman Vargas

 

 


Re: [NB Module] How to create a module that plays a sound whenever the Java parser detects an error

Posted by "Jack W." <so...@gmail.com>.
On Thu, Oct 15, 2020 at 1:16 PM <he...@gmail.com> wrote:

>  a Netbeans module that plays a feedback sound whenever the user makes a
> syntax mistake when typing (Java) code.
>

Hmm, going thru my code that might sound something line Aaron Copland's "
"Fanfare for the Common Man"


-- 
---
Jack Woehr               # Woehr's Asymptote: The ratio of the time spent
Box 51, Golden CO 80402  # administering productivity software over the time
http://www.softwoehr.com # saved by said software eventually approximates 1