Resource files | IntelliJ IDEA
www.jetbrains.com › help › ideaApr 12, 2021 · getResourceAsStream() for icons and other files. For more information about these methods, refer to Location-Independent Access to Resources. When building an application, IntelliJ IDEA copies all resources into the output directory, preserving the directory structure of the resources relative to the source path.