Bookmark Topic Watch Topic
  • New Topic

Using the MidiDevice interface (Java Sound API)  RSS feed

Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all, I'm trying to understand interfaces in Java so hope someone can help.

I have a class which is implementing the MidiDevice interface (

There is a method in there that I need to declare called isOpen(). The thing is I'm not sure how I would check if the device 'is open'. These are the lines I'm thinking along:

Is this correct? If not, what kind of thing would I need to do for this method?

Thank you.
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!