且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将图像导入IntelliJ Java项目

更新时间:2022-06-13 01:20:19

您必须在IntelliJ IDEA之外的文件管理器中执行此操作。要确保应用程序类路径中的图像可用,请选中设置 | 编译器 | 资源模式 .png 扩展名需要在那里列出。

You will have to do it in a file manager, outside of IntelliJ IDEA. To ensure that images are available in the application classpath check Settings | Compiler | Resource Patterns, .png extension needs to be listed there.