I'm having problems compiling the code example from a book I have, "Head First Java"; for some obscure reason it's having trouble with one particular line:
I'm using NetBeans IDE (and I would suppose javac to compile), so I'm pretty sure it's not a problem with my having just switched from Notepad + javac (via cmd.exe) to NetBeans...
Oh, and the error:
What am I doing wrong here?
| Code: |
|
Sequencer sequencer = MidiSystem.getSequencer(); |
I'm using NetBeans IDE (and I would suppose javac to compile), so I'm pretty sure it's not a problem with my having just switched from Notepad + javac (via cmd.exe) to NetBeans...
Oh, and the error:
| Code: |
|
cannot find symbol symbol : class getSequencer location: class javax.sound.midi.MidiSystem Sequencer sequencer = new MidiSystem.getSequencer(); |
What am I doing wrong here?
