I have all but finished creating a GUI Drum Machine in Max Java. However, there is a null pointer statement upon compiling and it won't accept getValue() in the ChangeListener. If I write simply outlet (16, 88) for example it works, but as soon as I enter JSlider.getValue() it compiles, but gives me pages of errors to do with a null pointer in the max windowupon moving the JSlider.
This correction will help me complete my GUI so any help would me very very very VERY VERY VERY much appreciated!
Thank you very much