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!
lol yes it is… have u any suggestions to what is wrong? its so confusing because it happened once because i hadnt copied my MaxObject over to the variables to reference in the use of it. But now i have done that it shouldnt be happening!