question 2: C,E. MIDI is required. See page 34 of the JTWI spec.
question 4: I ran the code.
it doesn't compile because notifyDistroyed expects a boolean argument.
if you correct that and compile running it gives:
"foo
destroyApp threw an Exception
java.lang.SecurityException: MIDP lifecycle does not support system exit."
bar isn't sent to the console.
[ November 24, 2005: Message edited by: Nobuhiro Watsuki ]