IDE: Intellij
Goal: Use javax.sound.midi.* in my project
Problem: The import statement "import javax.sound.midi.*" gives the error: "package javax.sound.midi does not exist.
When I import the javax.sound.midi in my swing project, everything works perfectly fine. It seems like JavaFX projects can't recognize any imports that start with "javax".
Any help would be appreciated, thank you.
Attempted Solutions: I've tried adding "requires javax.sound.midi." in the "module-info.java" file, but that doesn't work. I've tried going to module settings -> add libraries -> maven -> "javax.sound.midi" , but no search results were found.