The issue I am having is where it says MidiEvent = null; I am not sure what is going on but it keeps failing the argument if statement. I also dont see where it is prompting for the user cmd line input. Here is the code:
When I run it just processes this line System.out.println("Don't forget the instrument and note args");
I am not sure how to get the information in to the program from the command line. I am still pretty new to this and I cant figure it out.
Is that where I am screwing up? I am using eclipse for coding it. I will read through the tutorial and run it from the command line tonight. I swear sometimes my brain doesnt function properly.
Well i for starters i don't prefer using an IDE. You better use notepad or Textpad(can compile and execute from inside also) and compile and execute using the command line only. Also if you are using eclipse, find out where can you pass in the parameters. Every IDE has that option where you can specify the command line parameters which needs to be passed.
[ SCJP 6.0 - 90% ] , JSP, Servlets and Learning EJB.
Try out the programs using a TextEditor. Textpad - Java 6 api
Are there any good websites w/ labs that I can work through to help enforce the theories and ideas. I have taken programming classes and I am working on an idea for a program to write that I can use as a demo and to hopefully learn some of the more advanced ideas. I wish I would have kept the ones from college.