diff options
Diffstat (limited to 'PunchingBag/src/uk/ac/open/punchingbag/examples/SimpleKeyboard.java')
-rw-r--r-- | PunchingBag/src/uk/ac/open/punchingbag/examples/SimpleKeyboard.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/PunchingBag/src/uk/ac/open/punchingbag/examples/SimpleKeyboard.java b/PunchingBag/src/uk/ac/open/punchingbag/examples/SimpleKeyboard.java index 245ed34..2dd7cde 100644 --- a/PunchingBag/src/uk/ac/open/punchingbag/examples/SimpleKeyboard.java +++ b/PunchingBag/src/uk/ac/open/punchingbag/examples/SimpleKeyboard.java @@ -101,8 +101,13 @@ public class SimpleKeyboard implements ButtonListener, Runnable { bag.fillRect(0, 15, 9, 4, Color.red, 500); playKey(0); } - } catch (InvalidMidiDataException | MidiUnavailableException - | IOException e) { + } catch (InvalidMidiDataException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (MidiUnavailableException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } |