javax.sound.midi.MidiUnavailableException

Coderanch | Vazzdoin Rocko | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    simple piano to play using buttons

    Coderanch | 7 years ago | Vazzdoin Rocko
    javax.sound.midi.MidiUnavailableException
  2. 0

    how to run javaFX application on dsktop ?

    Oracle Community | 7 years ago | 843851
    javax.sound.midi.MidiUnavailableException

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Requested device not installed

      at javax.sound.midi.MidiSystem.getDefaultDevice()
    2. Java RT
      MidiSystem.getSynthesizer
      1. javax.sound.midi.MidiSystem.getDefaultDevice(MidiSystem.java:1147)
      2. javax.sound.midi.MidiSystem.getDefaultDeviceWrapper(MidiSystem.java:1093)
      3. javax.sound.midi.MidiSystem.getSynthesizer(MidiSystem.java:324)
      3 frames
    3. test
      piano$1.run
      1. test.piano.<init>(piano.java:43)
      2. test.piano$1.run(piano.java:101)
      2 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
      2. java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      6. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
      7. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
      8. java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
      8 frames